lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.58.0 vs lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.59.0
- old
+ new
@@ -388,13 +388,9 @@
def add_pair(post, key, value, options = {})
post[key] = value if !value.blank? || options[:required]
end
- def localized_amount(money, currency)
- amount = amount(money)
- CURRENCIES_WITHOUT_FRACTIONS.include?(currency.to_s) ? amount.split('.').first : amount
- end
end
end
end