lib/paysafe/refinements/camel_case.rb in paysafe-0.14.0 vs lib/paysafe/refinements/camel_case.rb in paysafe-0.15.0

- old
+ new

@@ -15,17 +15,10 @@ end private def camel_case_key(key) - case key - when Symbol - camel_case(key.to_s).to_sym - when String - camel_case(key).to_sym - else - key - end + camel_case(key.to_s).to_sym end def camel_case(string) @__memoize_camelcase ||= {} return @__memoize_camelcase[string] if @__memoize_camelcase[string]