Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/utils.rb
Instance Method Summary collapse
Instance Method Details
#to_query ⇒ Object
2 3 4 |
# File 'lib/utils.rb', line 2 def to_query map{|k,v| "#{::CGI.escape(k.to_s)}=#{::CGI.escape(v)}"}.join("&") end |