Class: Fintoc::V2::Managers::SimulateManager
- Inherits:
-
Object
- Object
- Fintoc::V2::Managers::SimulateManager
- Defined in:
- lib/fintoc/v2/managers/simulate_manager.rb
Instance Method Summary collapse
-
#initialize(client) ⇒ SimulateManager
constructor
A new instance of SimulateManager.
- #receive_transfer(account_number_id:, amount:, currency:, idempotency_key: nil) ⇒ Object
Constructor Details
#initialize(client) ⇒ SimulateManager
7 8 9 |
# File 'lib/fintoc/v2/managers/simulate_manager.rb', line 7 def initialize(client) @client = client end |
Instance Method Details
#receive_transfer(account_number_id:, amount:, currency:, idempotency_key: nil) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/fintoc/v2/managers/simulate_manager.rb', line 11 def receive_transfer(account_number_id:, amount:, currency:, idempotency_key: nil) data = _simulate_receive_transfer( account_number_id:, amount:, currency:, idempotency_key: ) build_transfer(data) end |