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:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.0.8 - May 05, 2014 (6.5 KB)
  2. 0.0.6 - April 12, 2014 (6.5 KB)
顯示所有版本(共 4)

Runtime 相依性套件 (1):

mechanize >= 0

擁有者:

作者:

  • Eugene Gitelman

SHA 256 總和檢查碼:

= 複製 已複製

總下載次數 6,636

這個版本 3,726

授權:

Ruby 版本需求: >= 0

相關連結: