Class: StellarBase::WithdrawalRequests::Process

Inherits:
Object
  • Object
show all
Extended by:
LightService::Organizer
Defined in:
app/services/stellar_base/withdrawal_requests/process.rb

Class Method Summary collapse

Class Method Details

.call(operation, on_withdraw: StellarBase.configuration.on_withdraw) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'app/services/stellar_base/withdrawal_requests/process.rb', line 7

def self.call(
  operation,
  on_withdraw: StellarBase.configuration.on_withdraw
)
  with(
    stellar_operation: operation,
    on_withdraw: on_withdraw,
  ).reduce(actions)
end