Class: Increase::Resources::Simulations::InboundFednowTransfers
- Inherits:
-
Object
- Object
- Increase::Resources::Simulations::InboundFednowTransfers
- Defined in:
- lib/increase/resources/simulations/inbound_fednow_transfers.rb
Instance Method Summary collapse
-
#create(account_number_id: , amount: , debtor_account_number: nil, debtor_name: nil, debtor_routing_number: nil, unstructured_remittance_information: nil, request_options: {}) ⇒ Increase::Models::InboundFednowTransfer
Simulates an [Inbound FedNow Transfer](#inbound-fednow-transfers) to your account.
-
#initialize(client:) ⇒ InboundFednowTransfers
constructor
private
A new instance of InboundFednowTransfers.
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.
43 44 45 |
# File 'lib/increase/resources/simulations/inbound_fednow_transfers.rb', line 43 def initialize(client:) @client = client end |
Instance Method Details
#create(account_number_id: , amount: , debtor_account_number: nil, debtor_name: nil, debtor_routing_number: nil, unstructured_remittance_information: nil, request_options: {}) ⇒ Increase::Models::InboundFednowTransfer
Simulates an [Inbound FedNow Transfer](#inbound-fednow-transfers) to your account.
29 30 31 32 33 34 35 36 37 38 |
# File 'lib/increase/resources/simulations/inbound_fednow_transfers.rb', line 29 def create(params) parsed, = Increase::Simulations::InboundFednowTransferCreateParams.dump_request(params) @client.request( method: :post, path: "simulations/inbound_fednow_transfers", body: parsed, model: Increase::InboundFednowTransfer, options: ) end |