module HaveAPI::GoClient::Utils

Public Instance Methods

camelize(v) click to toggle source

Remove underscores and capitalize names @param v [String] @return [String]

# File lib/haveapi/go_client/utils.rb, line 6
def camelize(v)
  v.to_s.split('_').map(&:capitalize).join('')
end