Module: Paybase::Client::Customers
- Included in:
- Paybase::Client
- Defined in:
- lib/paybase/client/customers.rb
Instance Method Summary collapse
- #create_individual(options) ⇒ Object
- #customer(id) ⇒ Object
- #customers(options = {}) ⇒ Object
- #update_customer(id, options) ⇒ Object
Instance Method Details
#create_individual(options) ⇒ Object
9 10 11 |
# File 'lib/paybase/client/customers.rb', line 9 def create_individual() post("/customers/individual", ) end |
#customer(id) ⇒ Object
13 14 15 |
# File 'lib/paybase/client/customers.rb', line 13 def customer(id) get("/customers/#{id}") end |
#customers(options = {}) ⇒ Object
5 6 7 |
# File 'lib/paybase/client/customers.rb', line 5 def customers( = {}) get("/customers", ) end |
#update_customer(id, options) ⇒ Object
17 18 19 |
# File 'lib/paybase/client/customers.rb', line 17 def update_customer(id, ) patch("/customers/#{id}", ) end |