Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/nestoria/api.rb
Overview
Easy url encoding of hashes
Instance Method Summary collapse
Instance Method Details
#to_query ⇒ Object
7 8 9 |
# File 'lib/nestoria/api.rb', line 7 def to_query self.map{|k,v| "#{k}=#{v}"}.join("&") end |