lib/active_merchant/billing/integrations/helper.rb in activemerchant-1.14.0 vs lib/active_merchant/billing/integrations/helper.rb in activemerchant-1.15.0

- old
+ new

@@ -1,17 +1,17 @@ module ActiveMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: class Helper #:nodoc: attr_reader :fields - class_inheritable_accessor :service_url - class_inheritable_hash :mappings - class_inheritable_accessor :country_format + class_attribute :service_url + class_attribute :mappings + class_attribute :country_format self.country_format = :alpha2 # The application making the calls to the gateway # Useful for things like the PayPal build notation (BN) id fields - class_inheritable_accessor :application_id + class_attribute :application_id self.application_id = 'ActiveMerchant' def initialize(order, account, options = {}) options.assert_valid_keys([:amount, :currency, :test, :credential2, :credential3, :credential4]) @fields = {}