Class: AfterbanksPSD2::Account
- Defined in:
- lib/afterbanks_psd2/resources/account.rb
Class Method Summary collapse
Methods inherited from Resource
fields_information, #fields_information, has_fields, #initialize
Constructor Details
This class inherits a constructor from AfterbanksPSD2::Resource
Class Method Details
.list(token:) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/afterbanks_psd2/resources/account.rb', line 14 def self.list(token:) params = { servicekey: AfterbanksPSD2.configuration.servicekey, token: token, products: 'GLOBAL' } response, debug_id = AfterbanksPSD2.api_call( method: :post, path: '/transactions/', params: params ) Response.new( result: Collection.new( response, self ), body: response, debug_id: debug_id ) end |