Class: SwaggerParser::Tag

Inherits:
SourceBasedObject show all
Includes:
Extendable, ExternalDocsAttributable
Defined in:
lib/swagger_parser/tag.rb

Instance Attribute Summary

Attributes inherited from SourceBasedObject

#source

Instance Method Summary collapse

Methods included from ExternalDocsAttributable

#external_docs

Methods included from Extendable

#extensions

Methods inherited from SourceBasedObject

#initialize

Constructor Details

This class inherits a constructor from SwaggerParser::SourceBasedObject

Instance Method Details

#descriptionObject



11
12
13
# File 'lib/swagger_parser/tag.rb', line 11

def description
  source["description"]
end

#nameObject



16
17
18
# File 'lib/swagger_parser/tag.rb', line 16

def name
  source["name"]
end