Class: Ibanity::Xs2a::Customer

Inherits:
BaseResource show all
Defined in:
lib/ibanity/api/xs2a/customer.rb

Class Method Summary collapse

Methods inherited from BaseResource

create_by_uri, create_file_by_uri, destroy_by_uri, find_by_uri, find_file_by_uri, find_raw_by_uri, #initialize, list_by_uri, #reload!, update_by_uri

Constructor Details

This class inherits a constructor from Ibanity::BaseResource

Class Method Details

.delete(customer_access_token:) ⇒ Object



4
5
6
7
# File 'lib/ibanity/api/xs2a/customer.rb', line 4

def self.delete(customer_access_token:)
  uri = Ibanity.xs2a_api_schema["customer"]["self"]
  destroy_by_uri(uri: uri, customer_access_token: customer_access_token)
end