class ActiveWepay::Withdrawal

Public Class Methods

create(options) click to toggle source
# File lib/activewepay.rb, line 200
def self.create(options)
  withdrawal = self.new(options)
  
  withdrawal.call('/withdrawal/create', withdrawal.oauth_token, {
    account_id: withdrawal.account_id,
    redirect_uri: withdrawal.redirect_uri,
    mode: 'iframe'
  })
end