Module: Rainmaker::Client::Person
- Included in:
- Rainmaker::Client
- Defined in:
- lib/rainmaker/client/person.rb
Instance Method Summary collapse
-
#person(email, options = {}) ⇒ Object
Returns extended information for a given email.
Instance Method Details
#person(email, options = {}) ⇒ Object
Returns extended information for a given email
6 7 8 9 10 |
# File 'lib/rainmaker/client/person.rb', line 6 def person(email, = {}) [:email] = email response = get('person', ) format.to_s.downcase == 'xml' ? response['person'] : response end |