module Besepa::ApiCalls::Destroy

Public Instance Methods

destroy(filters={}) click to toggle source
# 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