Class: Increase::Resources::InboundFednowTransfers
- Inherits:
-
Object
- Object
- Increase::Resources::InboundFednowTransfers
- Defined in:
- lib/increase/resources/inbound_fednow_transfers.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ InboundFednowTransfers
constructor
private
A new instance of InboundFednowTransfers.
-
#list(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, request_options: {}) ⇒ Increase::Internal::Page<Increase::Models::InboundFednowTransfer>
Some parameter documentations has been truncated, see Models::InboundFednowTransferListParams for more details.
-
#retrieve(inbound_fednow_transfer_id, request_options: {}) ⇒ Increase::Models::InboundFednowTransfer
Retrieve an Inbound FedNow Transfer.
Constructor Details
#initialize(client:) ⇒ InboundFednowTransfers
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InboundFednowTransfers.
63 64 65 |
# File 'lib/increase/resources/inbound_fednow_transfers.rb', line 63 def initialize(client:) @client = client end |
Instance Method Details
#list(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, request_options: {}) ⇒ Increase::Internal::Page<Increase::Models::InboundFednowTransfer>
Some parameter documentations has been truncated, see Models::InboundFednowTransferListParams for more details.
List Inbound FedNow Transfers
48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/increase/resources/inbound_fednow_transfers.rb', line 48 def list(params = {}) parsed, = Increase::InboundFednowTransferListParams.dump_request(params) @client.request( method: :get, path: "inbound_fednow_transfers", query: parsed, page: Increase::Internal::Page, model: Increase::InboundFednowTransfer, options: ) end |
#retrieve(inbound_fednow_transfer_id, request_options: {}) ⇒ Increase::Models::InboundFednowTransfer
Retrieve an Inbound FedNow Transfer
17 18 19 20 21 22 23 24 |
# File 'lib/increase/resources/inbound_fednow_transfers.rb', line 17 def retrieve(inbound_fednow_transfer_id, params = {}) @client.request( method: :get, path: ["inbound_fednow_transfers/%1$s", inbound_fednow_transfer_id], model: Increase::InboundFednowTransfer, options: params[:request_options] ) end |