Class: OffsitePayments::Integrations::PaypalPaymentsAdvanced::Helper
- Inherits:
-
OffsitePayments::Integrations::PayflowLink::Helper
- Object
- Helper
- OffsitePayments::Integrations::PayflowLink::Helper
- OffsitePayments::Integrations::PaypalPaymentsAdvanced::Helper
- Defined in:
- lib/offsite_payments/integrations/paypal_payments_advanced.rb
Instance Attribute Summary
Attributes inherited from Helper
Instance Method Summary collapse
-
#initialize(order, account, options) ⇒ Helper
constructor
A new instance of Helper.
Methods inherited from OffsitePayments::Integrations::PayflowLink::Helper
#billing_address, #customer, #description, #form_fields
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
Returns a new instance of Helper.
16 17 18 19 |
# File 'lib/offsite_payments/integrations/paypal_payments_advanced.rb', line 16 def initialize(order, account, ) super add_field('partner', 'PayPal') end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OffsitePayments::Helper