lib/active_merchant/billing/gateway.rb in activemerchant-1.11.0 vs lib/active_merchant/billing/gateway.rb in activemerchant-1.12.0
- old
+ new
@@ -138,10 +138,10 @@
money.cents
else
money
end
- if money.is_a?(String) or cents.to_i < 0
+ if money.is_a?(String)
raise ArgumentError, 'money amount must be a positive Integer in cents.'
end
if self.money_format == :cents
cents.to_s