Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/itunes-search.rb

Instance Method Summary collapse

Instance Method Details

#to_url_paramsObject



9
10
11
# File 'lib/itunes-search.rb', line 9

def to_url_params
  collect { |key,value| "#{CGI::escape(key)}=#{CGI::escape(value)}" }.join('&')
end