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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.8 - May 05, 2014 (6.5 KB)
  2. 0.0.6 - April 12, 2014 (6.5 KB)
Show all versions (4 total)

Runtime Dependencies (1):

mechanize >= 0

Owners:

Authors:

  • Eugene Gitelman

SHA 256 checksum:

6118365d8fb7b07a78fa6e9510e00f94246927847aadf9360d0e94e6effeec29

Total downloads 6,548

For this version 3,677

Licenses:

N/A

Required Ruby Version: >= 0

Links: