Class Rack::Typhoeus::Middleware::ParamsDecoder
In: lib/rack/typhoeus/middleware/params_decoder/helper.rb
lib/rack/typhoeus/middleware/params_decoder.rb
Parent: Object

This Rack middleware takes care of the proper deserialization of the nested params encoded by Typhoeus.

@example Require the railtie when using Rails.

  require 'typhoeus/railtie'

@example Include the middleware for Rack based applications.

  use Rack::Typhoeus::Middleware::ParamsDecoder

@example Use the helper directly. Not recommended as b/c the interface might change.

  require 'rack/typhoeus/middleware/params_decoder/helper'
  include Rack::Typhoeus::Middleware::ParamsDecoder::Helper
  decode!(params)

@author Dwayne Macgowan @since 0.5.4

Methods

call   new  

Included Modules

ParamsDecoder::Helper

Classes and Modules

Module Rack::Typhoeus::Middleware::ParamsDecoder::Helper

Public Class methods

Public Instance methods

[Validate]