Class: Ibanity::IsabelConnect::Balance
- Inherits:
-
BaseResource
- Object
- OpenStruct
- BaseResource
- Ibanity::IsabelConnect::Balance
- Defined in:
- lib/ibanity/api/isabel_connect/balance.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
.list(account_id:, access_token:, headers: nil, **query_params) ⇒ Object
4 5 6 7 8 |
# File 'lib/ibanity/api/isabel_connect/balance.rb', line 4 def self.list(account_id:, access_token:, headers: nil, **query_params) Ibanity.isabel_connect_api_schema["accounts"]["balances"] uri = Ibanity.isabel_connect_api_schema["account"]["balances"].sub("{accountId}", account_id) list_by_uri(uri: uri, query_params: query_params, customer_access_token: access_token, headers: headers) end |