Module: Payjp::APIOperations::Delete
- Included in:
- Card, Customer, Plan, Subscription, Tenant
- Defined in:
- lib/payjp/api_operations/delete.rb
Instance Method Summary collapse
Instance Method Details
#delete(params = {}, opts = {}) ⇒ Object
4 5 6 7 8 |
# File 'lib/payjp/api_operations/delete.rb', line 4 def delete(params = {}, opts = {}) opts = Util.normalize_opts(opts) response, opts = request(:delete, url, params, opts) refresh_from(response, opts) end |