Sha256: 638dfe3451e09a0c4d283e2dd6f0dc753a64c0e3b61e0dba121a84807c4ab0d0
Contents?: true
Size: 399 Bytes
Versions: 14
Compression:
Stored size: 399 Bytes
Contents
module Kaya module Support class QueryString attr_reader :values, :req # req = Request def initialize req @req = req @values = Rack::Utils.parse_nested_query(req.query_string.split("/").last) end def value_for key @values[key] end def method_missing(key, *args, &block) @values[key.to_s] end end end end
Version data entries
14 entries across 14 versions & 1 rubygems