Class: OpenapiFirst::Test::Coverage::RouteTask
- Inherits:
-
Data
- Object
- Data
- OpenapiFirst::Test::Coverage::RouteTask
- Defined in:
- lib/openapi_first/test/coverage/route_task.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#request_method ⇒ Object
readonly
Returns the value of attribute request_method.
-
#requests ⇒ Object
readonly
Returns the value of attribute requests.
-
#responses ⇒ Object
readonly
Returns the value of attribute responses.
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path
6 7 8 |
# File 'lib/openapi_first/test/coverage/route_task.rb', line 6 def path @path end |
#request_method ⇒ Object (readonly)
Returns the value of attribute request_method
6 7 8 |
# File 'lib/openapi_first/test/coverage/route_task.rb', line 6 def request_method @request_method end |
#requests ⇒ Object (readonly)
Returns the value of attribute requests
6 7 8 |
# File 'lib/openapi_first/test/coverage/route_task.rb', line 6 def requests @requests end |
#responses ⇒ Object (readonly)
Returns the value of attribute responses
6 7 8 |
# File 'lib/openapi_first/test/coverage/route_task.rb', line 6 def responses @responses end |
Instance Method Details
#finished? ⇒ Boolean
7 8 9 |
# File 'lib/openapi_first/test/coverage/route_task.rb', line 7 def finished? requests.all?(&:finished?) && responses.all?(&:finished?) end |