Module: HotPepper::Query

Included in:
Client
Defined in:
lib/hot_pepper/query.rb

Instance Method Summary collapse

Instance Method Details

#generate_query(options) ⇒ Object



5
6
7
# File 'lib/hot_pepper/query.rb', line 5

def generate_query(options)
  Hashie::Mash.new(options).map{|k, v| "#{k}=#{v}"}.join('&')
end