RubyGems Navigation menu

egduphsphonebookadapt 0.0.8

The class gives you a search function, which takes a hash in form of {:first => first_name, :last => last_name} and returns an array of hashes corresponding to results. you can send an options hash with :form => 'json' to get the results as JSON example: Phonebook.new.search_results(:first => 'Bob', :last => 'Jones') will produce '[{:name=>Jones, Bob, :location=>HUP Medicine Department of 3400 Spruce St, :contact_info=>{Office=>(215) 5555-5555, Cell=>(215) 555-5555, email=>Bob.jones@uphs.upenn.edu}}]' this is an array, even if there is only one result. Can also call Phonebook.search_results(name_hash, options)

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.0.8 - May 05, 2014 (6,5 ko)
  2. 0.0.6 - April 12, 2014 (6,5 ko)
Voir toutes les versions (4)

Dépendances de Runtime (1):

mechanize >= 0

Propriétaires:

Auteurs:

  • Eugene Gitelman

Total de contrôle SHA 256:

= Copier Copié!

Total de téléchargements 6 636

Pour cette version 3 726

License:

aucune

Version de Ruby requise: >= 0

Liens: