Skip to content

Commit

Permalink
Fix self.inherited so the bahvior of subclasses of subclasses stays t…
Browse files Browse the repository at this point in the history
…he same
  • Loading branch information
wvanbergen committed Mar 23, 2014
1 parent 1d5eae2 commit f3c7f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_merchant/billing/integrations/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Helper #:nodoc:
self.application_id = 'ActiveMerchant'

def self.inherited(subclass)
subclass.mappings = {}
subclass.mappings ||= {}
end

def initialize(order, account, options = {})
Expand Down

0 comments on commit f3c7f18

Please sign in to comment.