Class: WatCatcher::Request
- Inherits:
-
Object
- Object
- WatCatcher::Request
- Defined in:
- lib/wat_catcher/rack_middleware.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#method ⇒ Object
Returns the value of attribute method.
-
#session ⇒ Object
Returns the value of attribute session.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
- #filtered_parameters ⇒ Object
-
#initialize(url, method, headers, session) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(url, method, headers, session) ⇒ Request
Returns a new instance of Request.
6 7 8 9 10 11 |
# File 'lib/wat_catcher/rack_middleware.rb', line 6 def initialize(url, method, headers, session) @url = url @method = method @headers = headers @session = session end |
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers.
4 5 6 |
# File 'lib/wat_catcher/rack_middleware.rb', line 4 def headers @headers end |
#method ⇒ Object
Returns the value of attribute method.
4 5 6 |
# File 'lib/wat_catcher/rack_middleware.rb', line 4 def method @method end |
#session ⇒ Object
Returns the value of attribute session.
4 5 6 |
# File 'lib/wat_catcher/rack_middleware.rb', line 4 def session @session end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/wat_catcher/rack_middleware.rb', line 4 def url @url end |
Instance Method Details
#filtered_parameters ⇒ Object
13 14 15 |
# File 'lib/wat_catcher/rack_middleware.rb', line 13 def filtered_parameters nil end |