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 校验和:

6118365d8fb7b07a78fa6e9510e00f94246927847aadf9360d0e94e6effeec29

下载总量 6,587

这个版本 3,701

许可:

需要的 Ruby 版本: >= 0

链接: