Class: Pakyow::Connection::Params
- Inherits:
-
Support::IndifferentHash
- Object
- Support::IndifferentHash
- Pakyow::Connection::Params
- Extended by:
- Forwardable
- Defined in:
- lib/pakyow/connection/params.rb
Instance Method Summary collapse
-
#initialize ⇒ Params
constructor
A new instance of Params.
-
#pp(*args) ⇒ Object
Fixes an issue using pp inside a delegator.
Constructor Details
#initialize ⇒ Params
Returns a new instance of Params.
16 17 18 19 20 |
# File 'lib/pakyow/connection/params.rb', line 16 def initialize params = Support::IndifferentHash.new @parser = QueryParser.new(params: params) super(params) end |
Instance Method Details
#pp(*args) ⇒ Object
Fixes an issue using pp inside a delegator.
24 25 26 |
# File 'lib/pakyow/connection/params.rb', line 24 def pp(*args) Kernel.pp(*args) end |