Class: OasRails::YARD::ResponseTag

Inherits:
YARD::Tags::Tag
  • Object
show all
Defined in:
lib/oas_rails/yard/response_tag.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#schemaObject

Returns the value of attribute schema.



4
5
6
# File 'lib/oas_rails/yard/response_tag.rb', line 4

def schema
  @schema
end