Module: Paybase::Client::Customers

Included in:
Paybase::Client
Defined in:
lib/paybase/client/customers.rb

Instance Method Summary collapse

Instance Method Details

#create_individual(options) ⇒ Object



9
10
11
# File 'lib/paybase/client/customers.rb', line 9

def create_individual(options)
  post("/customers/individual", options)
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(options = {})
  get("/customers", options)
end

#update_customer(id, options) ⇒ Object



17
18
19
# File 'lib/paybase/client/customers.rb', line 17

def update_customer(id, options)
  patch("/customers/#{id}", options)
end