Class: OAPI::Schema
- Inherits:
-
Object
- Object
- OAPI::Schema
- Defined in:
- lib/oapi/schema.rb
Instance Attribute Summary collapse
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
Instance Method Summary collapse
-
#initialize ⇒ Schema
constructor
A new instance of Schema.
Constructor Details
#initialize ⇒ Schema
Returns a new instance of Schema.
6 7 8 |
# File 'lib/oapi/schema.rb', line 6 def initialize @schema = yield if block_given? end |
Instance Attribute Details
#schema ⇒ Object (readonly)
Returns the value of attribute schema.
4 5 6 |
# File 'lib/oapi/schema.rb', line 4 def schema @schema end |