Class: OpenapiFirst::Test::Coverage::CoveredResponse
- Inherits:
-
Data
- Object
- Data
- OpenapiFirst::Test::Coverage::CoveredResponse
- Defined in:
- lib/openapi_first/test/coverage/covered_response.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
6 7 8 |
# File 'lib/openapi_first/test/coverage/covered_response.rb', line 6 def error @error end |
#key ⇒ Object (readonly)
Returns the value of attribute key
6 7 8 |
# File 'lib/openapi_first/test/coverage/covered_response.rb', line 6 def key @key end |
Instance Method Details
#valid? ⇒ Boolean
7 |
# File 'lib/openapi_first/test/coverage/covered_response.rb', line 7 def valid? = error.nil? |