Method: PayTrace::Customer.delete
- Defined in:
- lib/paytrace/customer.rb
.delete(customer_id) ⇒ Object
See help.paytrace.com/api-delete-customer-profile Performs the same functionality as Customer.delete, but saves a step by not requiring the user to instantiate a new Customer object first. Params: customer_id – the merchant-assigned customer ID of the profile to delete
85 86 87 |
# File 'lib/paytrace/customer.rb', line 85 def self.delete(customer_id) PayTrace::API::Gateway.send_request(DELETE_CUSTOMER, {customer_id: customer_id}, [:customer_id]) end |