lib/active_merchant/billing/gateways/safe_charge.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/safe_charge.rb in activemerchant-1.87.0

- old
+ new

@@ -250,11 +250,11 @@ end end def underscore(camel_cased_word) camel_cased_word.to_s.gsub(/::/, '/'). - gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2'). - gsub(/([a-z\d])([A-Z])/,'\1_\2'). + gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2'). + gsub(/([a-z\d])([A-Z])/, '\1_\2'). tr('-', '_'). downcase end end end