Method: ActiveMerchant::Billing::Be2billGateway#initialize
- Defined in:
- lib/active_merchant/billing/gateways/be2bill.rb
#initialize(options = {}) ⇒ Be2billGateway
These options are mandatory on be2bill (cf. tests) :
options = { :order_id => order.id,
:customer_id => user.id,
:description => "Some description",
:referrer => request.env['HTTP_REFERER'],
:user_agent => request.env['HTTP_USER_AGENT'],
:ip => request.remote_ip,
:email => user.email }
26 27 28 29 |
# File 'lib/active_merchant/billing/gateways/be2bill.rb', line 26 def initialize( = {}) requires!(, :login, :password) super end |