class Hash

Public Instance Methods

snake_to_camel() click to toggle source
# File lib/exact_target_rest/support/hash_extension.rb, line 2
def snake_to_camel
  self.map { |k, v| [k.to_s.snake_to_camel, Hash === v ? v.snake_to_camel : v]}.to_h
end