Class: HttpDecoy::RequestLog::Entry
- Inherits:
-
Struct
- Object
- Struct
- HttpDecoy::RequestLog::Entry
- Defined in:
- lib/http_decoy/request_log.rb
Overview
Use http_method instead of method to avoid overriding Struct#method.
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#http_method ⇒ Object
Returns the value of attribute http_method.
-
#path ⇒ Object
Returns the value of attribute path.
-
#query_params ⇒ Object
Returns the value of attribute query_params.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
8 9 10 |
# File 'lib/http_decoy/request_log.rb', line 8 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
8 9 10 |
# File 'lib/http_decoy/request_log.rb', line 8 def headers @headers end |
#http_method ⇒ Object
Returns the value of attribute http_method
8 9 10 |
# File 'lib/http_decoy/request_log.rb', line 8 def http_method @http_method end |
#path ⇒ Object
Returns the value of attribute path
8 9 10 |
# File 'lib/http_decoy/request_log.rb', line 8 def path @path end |
#query_params ⇒ Object
Returns the value of attribute query_params
8 9 10 |
# File 'lib/http_decoy/request_log.rb', line 8 def query_params @query_params end |