Class: Resteze::Client::RequestLogContext
- Inherits:
-
Object
- Object
- Resteze::Client::RequestLogContext
- Defined in:
- lib/resteze/client.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#method ⇒ Object
Returns the value of attribute method.
-
#path ⇒ Object
Returns the value of attribute path.
-
#query_params ⇒ Object
Returns the value of attribute query_params.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
233 234 235 |
# File 'lib/resteze/client.rb', line 233 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
233 234 235 |
# File 'lib/resteze/client.rb', line 233 def headers @headers end |
#method ⇒ Object
Returns the value of attribute method.
233 234 235 |
# File 'lib/resteze/client.rb', line 233 def method @method end |
#path ⇒ Object
Returns the value of attribute path.
233 234 235 |
# File 'lib/resteze/client.rb', line 233 def path @path end |
#query_params ⇒ Object
Returns the value of attribute query_params.
233 234 235 |
# File 'lib/resteze/client.rb', line 233 def query_params @query_params end |
Instance Method Details
#dup_from_response(resp) ⇒ Object
235 236 237 238 239 |
# File 'lib/resteze/client.rb', line 235 def dup_from_response(resp) return self if resp.nil? dup end |