Module: FullContact::Client::Company
- Included in:
- FullContact::Client
- Defined in:
- lib/fullcontact/client/company.rb
Instance Method Summary collapse
-
#company(options = {}, faraday_options = {}) ⇒ Object
Returns extended information for a given person (email, phone, twitter or facebook).
Instance Method Details
#company(options = {}, faraday_options = {}) ⇒ Object
Returns extended information for a given person (email, phone, twitter or facebook)
6 7 8 9 |
# File 'lib/fullcontact/client/company.rb', line 6 def company(={}, ={}) response = get('company/lookup', , false, ) format.to_s.downcase == 'xml' ? response['person'] : response end |