Method: ProcessOut::Token#delete
- Defined in:
- lib/processout/token.rb
#delete(options = {}) ⇒ Object
Delete a customer token Params:
options-
Hashof options
496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File 'lib/processout/token.rb', line 496 def delete( = {}) self.prefill() request = Request.new(@client) path = "/customers/" + CGI.escape(@customer_id) + "/tokens/" + CGI.escape(@id) + "" data = { } response = Response.new(request.delete(path, data, )) return_values = Array.new return_values.push(response.success) return_values[0] end |