Class: OpenapiFirst::ResponseObject
- Inherits:
-
Object
- Object
- OpenapiFirst::ResponseObject
- Extended by:
- Forwardable
- Defined in:
- lib/openapi_first/response_object.rb
Overview
Represents an OpenAPI Response Object
Instance Method Summary collapse
-
#initialize(parsed) ⇒ ResponseObject
constructor
A new instance of ResponseObject.
Constructor Details
#initialize(parsed) ⇒ ResponseObject
Returns a new instance of ResponseObject.
15 16 17 18 |
# File 'lib/openapi_first/response_object.rb', line 15 def initialize(parsed) @parsed = parsed @raw = parsed.raw end |