Class: Increase::Resources::Simulations::PendingTransactions
- Inherits:
-
Object
- Object
- Increase::Resources::Simulations::PendingTransactions
- Defined in:
- lib/increase/resources/simulations/pending_transactions.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ PendingTransactions
constructor
private
A new instance of PendingTransactions.
-
#release_inbound_funds_hold(pending_transaction_id, request_options: {}) ⇒ Increase::Models::PendingTransaction
Some parameter documentations has been truncated, see Models::Simulations::PendingTransactionReleaseInboundFundsHoldParams for more details.
Constructor Details
#initialize(client:) ⇒ PendingTransactions
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 PendingTransactions.
38 39 40 |
# File 'lib/increase/resources/simulations/pending_transactions.rb', line 38 def initialize(client:) @client = client end |
Instance Method Details
#release_inbound_funds_hold(pending_transaction_id, request_options: {}) ⇒ Increase::Models::PendingTransaction
Some parameter documentations has been truncated, see Models::Simulations::PendingTransactionReleaseInboundFundsHoldParams for more details.
This endpoint simulates immediately releasing an Inbound Funds Hold, which might be created as a result of, for example, an ACH debit.
23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/increase/resources/simulations/pending_transactions.rb', line 23 def release_inbound_funds_hold(pending_transaction_id, params = {}) @client.request( method: :post, path: [ "simulations/pending_transactions/%1$s/release_inbound_funds_hold", pending_transaction_id ], model: Increase::PendingTransaction, options: params[:request_options] ) end |