Class: Hash

Inherits:
Object show all
Defined in:
lib/bing/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_lower_camelized_param(namespace = nil) ⇒ Object



38
39
40
41
42
# File 'lib/bing/core_ext.rb', line 38

def to_lower_camelized_param namespace = nil
  collect do |key, value|
    value.to_lower_camelized_query(namespace ? "#{namespace}[#{key}]" : key)
  end.sort * '&'
end