Class: Increase::Resources::Simulations::InboundFundsHolds
- Inherits:
-
Object
- Object
- Increase::Resources::Simulations::InboundFundsHolds
- Defined in:
- lib/increase/resources/simulations/inbound_funds_holds.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ InboundFundsHolds
constructor
private
A new instance of InboundFundsHolds.
-
#release(inbound_funds_hold_id, request_options: {}) ⇒ Increase::Models::Simulations::InboundFundsHoldReleaseResponse
This endpoint simulates immediately releasing an Inbound Funds Hold, which might be created as a result of e.g., an ACH debit.
Constructor Details
#initialize(client:) ⇒ InboundFundsHolds
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 InboundFundsHolds.
31 32 33 |
# File 'lib/increase/resources/simulations/inbound_funds_holds.rb', line 31 def initialize(client:) @client = client end |
Instance Method Details
#release(inbound_funds_hold_id, request_options: {}) ⇒ Increase::Models::Simulations::InboundFundsHoldReleaseResponse
This endpoint simulates immediately releasing an Inbound Funds Hold, which might be created as a result of e.g., an ACH debit.
19 20 21 22 23 24 25 26 |
# File 'lib/increase/resources/simulations/inbound_funds_holds.rb', line 19 def release(inbound_funds_hold_id, params = {}) @client.request( method: :post, path: ["simulations/inbound_funds_holds/%1$s/release", inbound_funds_hold_id], model: Increase::Models::Simulations::InboundFundsHoldReleaseResponse, options: params[:request_options] ) end |