class OffsitePayments::Integrations::EasyPay::Helper

Public Class Methods

new(order, account, options = {}) click to toggle source
Calls superclass method
# File lib/offsite_payments/integrations/easy_pay.rb, line 58
def initialize(order, account, options = {})
  super
  @secret = options[:credential2]
end

Public Instance Methods

form_fields() click to toggle source
# File lib/offsite_payments/integrations/easy_pay.rb, line 63
def form_fields
  @fields.merge(OffsitePayments::Integrations::EasyPay.signature_parameter_name => generate_signature(:request))
end
params() click to toggle source
# File lib/offsite_payments/integrations/easy_pay.rb, line 67
def params
  @fields
end