Class: OasRails::YARD::ResponseTag
- Inherits:
-
YARD::Tags::Tag
- Object
- YARD::Tags::Tag
- OasRails::YARD::ResponseTag
- Defined in:
- lib/oas_rails/yard/response_tag.rb
Instance Attribute Summary collapse
-
#schema ⇒ Object
Returns the value of attribute schema.
Instance Method Summary collapse
-
#initialize(tag_name, name, text, schema) ⇒ ResponseTag
constructor
TODO: name == code.
Constructor Details
#initialize(tag_name, name, text, schema) ⇒ ResponseTag
TODO: name == code. The name MUST be changed to code for better understanding
7 8 9 10 |
# File 'lib/oas_rails/yard/response_tag.rb', line 7 def initialize(tag_name, name, text, schema) super(tag_name, text, nil, name) @schema = schema end |
Instance Attribute Details
#schema ⇒ Object
Returns the value of attribute schema.
4 5 6 |
# File 'lib/oas_rails/yard/response_tag.rb', line 4 def schema @schema end |