Class: ApimaticTestingCalculator::HttpContext
- Inherits:
-
Object
- Object
- ApimaticTestingCalculator::HttpContext
- Defined in:
- lib/apimatic_testing_calculator/http/http_context.rb
Overview
Represents an Http call in context.
Instance Attribute Summary collapse
-
#request ⇒ Object
Returns the value of attribute request.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(request, response) ⇒ HttpContext
constructor
The constructor.
Constructor Details
#initialize(request, response) ⇒ HttpContext
The constructor. response.
15 16 17 18 |
# File 'lib/apimatic_testing_calculator/http/http_context.rb', line 15 def initialize(request, response) @request = request @response = response end |
Instance Attribute Details
#request ⇒ Object
Returns the value of attribute request.
9 10 11 |
# File 'lib/apimatic_testing_calculator/http/http_context.rb', line 9 def request @request end |
#response ⇒ Object
Returns the value of attribute response.
9 10 11 |
# File 'lib/apimatic_testing_calculator/http/http_context.rb', line 9 def response @response end |