Class: Afterbanks::Bank
- Defined in:
- lib/afterbanks/resources/bank.rb
Class Method Summary collapse
Methods inherited from Resource
fields_information, #fields_information, has_fields, #initialize
Constructor Details
This class inherits a constructor from Afterbanks::Resource
Class Method Details
.list(ordered: false) ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/afterbanks/resources/bank.rb', line 22 def list(ordered: false) response, debug_id = Afterbanks.api_call( method: :get, path: '/forms/' ) Response.new( result: Collection.new( banks_information_for( response: response, ordered: ordered ), self ), debug_id: debug_id ) end |