Sha256: c56226092ba47df0b74e3af599833fe3d8b688ef85d0f266b38f26c199a17fdc
Contents?: true
Size: 534 Bytes
Versions: 1
Compression:
Stored size: 534 Bytes
Contents
require "active_support/core_ext/hash/indifferent_access" require "gatleon/params2/version" module Gatleon module Params2 class Error < StandardError; end def params2 @params2 ||= _params2_merged.with_indifferent_access end private def _params2_merged begin _params2_POST.merge(_params2_GET) rescue EOFError _params2_GET end end def _params2_GET request.query_parameters end def _params2_POST request.request_parameters end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gatleon-params2-0.1.0 | lib/gatleon/params2.rb |