Module: Voog::API::People
- Included in:
- Client
- Defined in:
- lib/voog_api/api/people.rb
Instance Method Summary collapse
-
#people(params = {}) ⇒ Object
List people.
-
#person(id, params = {}) ⇒ Object
Get a single person.
Instance Method Details
#people(params = {}) ⇒ Object
List people
6 7 8 |
# File 'lib/voog_api/api/people.rb', line 6 def people(params = {}) paginate 'people', {query: params} end |
#person(id, params = {}) ⇒ Object
Get a single person
11 12 13 |
# File 'lib/voog_api/api/people.rb', line 11 def person(id, params = {}) get "people/#{id}", {query: params} end |