Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/imaginary/hash.rb

Instance Method Summary collapse

Instance Method Details

#to_query_paramsObject



4
5
6
7
8
# File 'lib/imaginary/hash.rb', line 4

def to_query_params
  map do |k, v|
    "#{k}=#{v}"
  end.join('&')
end