lib/hubspot/helpers/camel_case.rb in hubspot-api-client-17.2.0 vs lib/hubspot/helpers/camel_case.rb in hubspot-api-client-18.0.0

- old
+ new

@@ -1,10 +1,13 @@ module Hubspot module Helpers class CamelCase def format(string) - if string == 'oauth' + case string + when 'oauth' 'OAuth' + when 'gdpr_api' + 'GDPRApi' else string.split('_').collect(&:capitalize).join end end end