Class: Greenlight::RequestResponse
- Inherits:
-
Object
- Object
- Greenlight::RequestResponse
- Defined in:
- lib/greenlight/request.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#code ⇒ Object
Returns the value of attribute code.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#raw_body ⇒ Object
Returns the value of attribute raw_body.
-
#total_time ⇒ Object
Returns the value of attribute total_time.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
13 14 15 |
# File 'lib/greenlight/request.rb', line 13 def body @body end |
#code ⇒ Object
Returns the value of attribute code.
13 14 15 |
# File 'lib/greenlight/request.rb', line 13 def code @code end |
#headers ⇒ Object
Returns the value of attribute headers.
13 14 15 |
# File 'lib/greenlight/request.rb', line 13 def headers @headers end |
#raw_body ⇒ Object
Returns the value of attribute raw_body.
13 14 15 |
# File 'lib/greenlight/request.rb', line 13 def raw_body @raw_body end |
#total_time ⇒ Object
Returns the value of attribute total_time.
13 14 15 |
# File 'lib/greenlight/request.rb', line 13 def total_time @total_time end |