Class: Increase::Resources::Simulations::InboundWireDrawdownRequests
- Inherits:
-
Object
- Object
- Increase::Resources::Simulations::InboundWireDrawdownRequests
- Defined in:
- lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb
Instance Method Summary collapse
-
#create(params = {}, opts = {}) ⇒ Increase::Models::InboundWireDrawdownRequest
Simulates receiving an Inbound Wire Drawdown Request.
-
#initialize(client:) ⇒ InboundWireDrawdownRequests
constructor
A new instance of InboundWireDrawdownRequests.
Constructor Details
#initialize(client:) ⇒ InboundWireDrawdownRequests
Returns a new instance of InboundWireDrawdownRequests.
7 8 9 |
# File 'lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb', line 7 def initialize(client:) @client = client end |
Instance Method Details
#create(params = {}, opts = {}) ⇒ Increase::Models::InboundWireDrawdownRequest
Simulates receiving an Inbound Wire Drawdown Request.
45 46 47 48 49 50 51 52 |
# File 'lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb', line 45 def create(params = {}, opts = {}) req = {} req[:method] = :post req[:path] = "/simulations/inbound_wire_drawdown_requests" req[:body] = params req[:model] = Increase::Models::InboundWireDrawdownRequest @client.request(req, opts) end |