Module: Besepa::ApiCalls::Destroy
- Included in:
- BankAccount, Customer, Debit, Group, Product, Subscription, User, Webhook
- Defined in:
- lib/besepa/api_calls/destroy.rb
Instance Method Summary collapse
Instance Method Details
#destroy(filters = {}) ⇒ Object
7 8 9 10 11 |
# File 'lib/besepa/api_calls/destroy.rb', line 7 def destroy(filters={}) response = delete "/#{self.class.api_path(filters)}/#{id}" process_attributes(response['response']) if response['response'] self end |