Class Index [+]

Quicksearch

ActiveMerchant::Billing::Integrations::Moneybookers::Helper

Public Class Methods

new(order, account, options = {}) click to toggle source
    # File lib/active_merchant/billing/integrations/moneybookers/helper.rb, line 30
30:           def initialize(order, account, options = {})
31:             super
32:             add_tracking_token
33:             add_default_parameters
34:             add_seller_details(options)
35:           end

Private Instance Methods

add_default_parameters() click to toggle source
    # File lib/active_merchant/billing/integrations/moneybookers/helper.rb, line 47
47:           def add_default_parameters
48:             add_field('hide_login', 1)
49:           end
add_seller_details(options) click to toggle source
    # File lib/active_merchant/billing/integrations/moneybookers/helper.rb, line 51
51:           def add_seller_details(options)
52:             add_field('recipient_description', options[:account_name]) if options[:account_name]
53:             add_field('country', lookup_country_code(options[:country], :alpha3)) if options[:country]
54:           end
add_tracking_token() click to toggle source
    # File lib/active_merchant/billing/integrations/moneybookers/helper.rb, line 40
40:           def add_tracking_token
41:             return if application_id.blank? || application_id == 'ActiveMerchant'
42: 
43:             add_field('merchant_fields', 'platform')
44:             add_field('platform', application_id)
45:           end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.