Sha256: 641227d980588c585f3133630728eb2541777a943973e9c016867c0b2ac9757e
Contents?: true
Size: 263 Bytes
Versions: 19
Compression:
Stored size: 263 Bytes
Contents
require 'rest-core/middleware' class RestCore::DefaultQuery def self.members; [:query]; end include RestCore::Middleware def call env, &k q = merge_hash(@query, query(env), env[REQUEST_QUERY]) app.call(env.merge(REQUEST_QUERY => q), &k) end end
Version data entries
19 entries across 19 versions & 1 rubygems