Categories: None [Edit]
egduphsphonebookadapt
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=>[email protected]}}]'
this is an array, even if there is only one result. Can also call Phonebook.search_results(name_hash, options)
Total
Ranking: 106,821 of 188,742
Downloads: 7,137
Daily
Ranking: 81,713 of 188,718
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1,134 | 38,977,430 | mechanize |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | eugyev |