Class: OasRails::YARD::RequestBodyExampleTag

Inherits:
ExampleTag
  • Object
show all
Defined in:
lib/oas_rails/yard/request_body_example_tag.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject

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