Module: GrooveHQ::Client::Customers
- Included in:
- GrooveHQ::Client
- Defined in:
- lib/groovehq/client/customers.rb
Instance Method Summary collapse
- #customer(email) ⇒ Object
- #customers(options = {}) ⇒ Object
- #update_customer(email, options) ⇒ Object
Instance Method Details
#customer(email) ⇒ Object
10 11 12 |
# File 'lib/groovehq/client/customers.rb', line 10 def customer(email) get("/customers/#{email}") end |
#customers(options = {}) ⇒ Object
14 15 16 |
# File 'lib/groovehq/client/customers.rb', line 14 def customers( = {}) get("/customers", ) end |
#update_customer(email, options) ⇒ Object
6 7 8 |
# File 'lib/groovehq/client/customers.rb', line 6 def update_customer(email, ) put("/customers/#{email}", ) end |