# File lib/active_merchant/billing/integrations/notification.rb, line 32 def amount return Money.new(gross_cents, currency) rescue ArgumentError return Money.new(gross_cents) # maybe you have an own money object which doesn't take a currency? end