Class: OffsitePayments::Integrations::Moneybookers::Helper

Inherits:
Helper
  • Object
show all
Defined in:
lib/offsite_payments/integrations/moneybookers.rb

Constant Summary collapse

MAPPED_COUNTRY_CODES =
{
  'SE' => 'SV',
  'DK' => 'DA'
}
SUPPORTED_COUNTRY_CODES =
[
  'FI', 'DE', 'ES', 'FR',
  'IT','PL', 'GR', 'RO',
  'RU', 'TR', 'CN', 'CZ', 'NL'
]

Instance Attribute Summary

Attributes inherited from Helper

#fields

Instance Method Summary collapse

Methods inherited from Helper

#add_field, #add_fields, #add_raw_html_field, #billing_address, #form_fields, #form_method, inherited, mapping, #raw_html_fields, #shipping_address, #test?

Constructor Details

#initialize(order, account, options = {}) ⇒ Helper


55
56
57
58
59
60
# File 'lib/offsite_payments/integrations/moneybookers.rb', line 55

def initialize(order, , options = {})
  super
  add_tracking_token
  add_default_parameters
  add_seller_details(options)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OffsitePayments::Helper