Class: Increase::Resources::Simulations::InboundRealTimePaymentsTransfers
- Inherits:
-
Object
- Object
- Increase::Resources::Simulations::InboundRealTimePaymentsTransfers
- Defined in:
- lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb
Instance Method Summary collapse
-
#create(params = {}, opts = {}) ⇒ Increase::Models::InboundRealTimePaymentsTransferCreateResponse
Simulates an inbound Real-Time Payments transfer to your account.
-
#initialize(client:) ⇒ InboundRealTimePaymentsTransfers
constructor
A new instance of InboundRealTimePaymentsTransfers.
Constructor Details
#initialize(client:) ⇒ InboundRealTimePaymentsTransfers
Returns a new instance of InboundRealTimePaymentsTransfers.
7 8 9 |
# File 'lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb', line 7 def initialize(client:) @client = client end |
Instance Method Details
#create(params = {}, opts = {}) ⇒ Increase::Models::InboundRealTimePaymentsTransferCreateResponse
Simulates an inbound Real-Time Payments transfer to your account. Real-Time Payments are a beta feature.
27 28 29 30 31 32 33 34 |
# File 'lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb', line 27 def create(params = {}, opts = {}) req = {} req[:method] = :post req[:path] = "/simulations/inbound_real_time_payments_transfers" req[:body] = params req[:model] = Increase::Models::InboundRealTimePaymentsTransferCreateResponse @client.request(req, opts) end |