module FortePayments::Client::Customer
Public Instance Methods
create_customer(options = {})
click to toggle source
# File lib/forte_payments/resources/customer.rb, line 5 def create_customer(options = {}) post("/customers", options) end
delete_customer(customer_id)
click to toggle source
# File lib/forte_payments/resources/customer.rb, line 21 def delete_customer(customer_id) delete("/customers/#{customer_id}") end
find_customer(customer_id)
click to toggle source
# File lib/forte_payments/resources/customer.rb, line 13 def find_customer(customer_id) get("/customers/#{customer_id}", options) end
list_customers(options = {})
click to toggle source
# File lib/forte_payments/resources/customer.rb, line 9 def list_customers(options = {}) get("/customers", options) end
update_customer(customer_id, options = {})
click to toggle source
# File lib/forte_payments/resources/customer.rb, line 17 def update_customer(customer_id, options = {}) put("/customers/#{customer_id}", options) end