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
A new instance of InboundFundsHolds.
-
#release(inbound_funds_hold_id, opts = {}) ⇒ Increase::Models::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
Returns a new instance of InboundFundsHolds.
7 8 9 |
# File 'lib/increase/resources/simulations/inbound_funds_holds.rb', line 7 def initialize(client:) @client = client end |
Instance Method Details
#release(inbound_funds_hold_id, opts = {}) ⇒ Increase::Models::InboundFundsHoldReleaseResponse
This endpoint simulates immediately releasing an inbound funds hold, which might be created as a result of e.g., an ACH debit.
18 19 20 21 22 23 24 |
# File 'lib/increase/resources/simulations/inbound_funds_holds.rb', line 18 def release(inbound_funds_hold_id, opts = {}) req = {} req[:method] = :post req[:path] = "/simulations/inbound_funds_holds/#{inbound_funds_hold_id}/release" req[:model] = Increase::Models::InboundFundsHoldReleaseResponse @client.request(req, opts) end |