Class: LemonWay::MoneyOut

Inherits:
Object
  • Object
show all
Defined in:
lib/lemon_way/money_out.rb

Class Method Summary collapse

Class Method Details

.register_iban(params = {}) ⇒ Object



8
9
10
11
# File 'lib/lemon_way/money_out.rb', line 8

def register_iban(params = {})
  params[:wallet] = params.delete(:id)
  LemonWay.client.send_request('RegisterIBAN', '1.1', params)
end

.transfer(params = {}) ⇒ Object



13
14
15
16
# File 'lib/lemon_way/money_out.rb', line 13

def transfer(params = {})
  params[:wallet] = params.delete(:id)
  LemonWay.client.send_request('MoneyOut', '1.3', params)
end

.transfer_details(params = {}) ⇒ Object



18
19
20
# File 'lib/lemon_way/money_out.rb', line 18

def transfer_details(params = {})
  LemonWay.client.send_request('GetMoneyOutTransDetails', '1.4', params)
end