Class: ActiveMerchant::Billing::Integrations::PayDollar::Helper
- Defined in:
- lib/active_merchant/billing/integrations/pay_dollar/helper.rb
Instance Attribute Summary
Attributes inherited from Helper
Instance Method Summary collapse
- #form_fields ⇒ Object
-
#initialize(order, account, options = {}) ⇒ Helper
constructor
A new instance of Helper.
Methods inherited from Helper
#add_field, #add_fields, #add_raw_html_field, #billing_address, mapping, #raw_html_fields, #shipping_address, #test?
Constructor Details
#initialize(order, account, options = {}) ⇒ Helper
Returns a new instance of Helper.
30 31 32 33 34 |
# File 'lib/active_merchant/billing/integrations/pay_dollar/helper.rb', line 30 def initialize(order, account, = {}) super add_field mappings[:merchant], [:credential2] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveMerchant::Billing::Integrations::Helper
Instance Method Details
#form_fields ⇒ Object
36 37 38 |
# File 'lib/active_merchant/billing/integrations/pay_dollar/helper.rb', line 36 def form_fields @fields end |