Class: OasRails::YARD::RequestBodyExampleTag
- Inherits:
-
ExampleTag
- Object
- YARD::Tags::Tag
- ExampleTag
- OasRails::YARD::RequestBodyExampleTag
- Defined in:
- lib/oas_rails/yard/request_body_example_tag.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(tag_name, text, content: {}) ⇒ RequestBodyExampleTag
constructor
A new instance of RequestBodyExampleTag.
Constructor Details
#initialize(tag_name, text, content: {}) ⇒ RequestBodyExampleTag
Returns a new instance of RequestBodyExampleTag.
6 7 8 |
# File 'lib/oas_rails/yard/request_body_example_tag.rb', line 6 def initialize(tag_name, text, content: {}) super end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
4 5 6 |
# File 'lib/oas_rails/yard/request_body_example_tag.rb', line 4 def content @content end |