Sha256: c603004a0c0f2a5ce498decf8671f5851a4424834fae1ab74f5b8cd4ef31cca9
Contents?: true
Size: 541 Bytes
Versions: 37
Compression:
Stored size: 541 Bytes
Contents
# encoding: UTF-8 # # Copyright (c) 2010-2015 GoodData Corporation. All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. require_relative 'base_middleware' module GoodData module Bricks # Converts params from encoded hash to decoded hash class DecodeParamsMiddleware < Bricks::Middleware def call(params) params = params.to_hash @app.call(GoodData::Helpers.decode_params(params)) end end end end
Version data entries
37 entries across 37 versions & 3 rubygems