Class: OpenapiBuilder::Core
- Inherits:
-
Object
- Object
- OpenapiBuilder::Core
- Defined in:
- lib/openapi_builder/core.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'lib/openapi_builder/core.rb', line 6 def data @data end |
Instance Method Details
#to_json ⇒ Object
12 13 14 |
# File 'lib/openapi_builder/core.rb', line 12 def to_json @data.to_json end |
#to_yaml ⇒ Object
8 9 10 |
# File 'lib/openapi_builder/core.rb', line 8 def to_yaml @data.to_yaml end |