Class: SwaggerParser::Contact
- Inherits:
-
SourceBasedObject
- Object
- SourceBasedObject
- SwaggerParser::Contact
- Defined in:
- lib/swagger_parser/contact.rb
Instance Attribute Summary
Attributes inherited from SourceBasedObject
Instance Method Summary collapse
Methods inherited from SourceBasedObject
Constructor Details
This class inherits a constructor from SwaggerParser::SourceBasedObject
Instance Method Details
#email ⇒ Object
6 7 8 |
# File 'lib/swagger_parser/contact.rb', line 6 def email source["email"] end |
#name ⇒ Object
11 12 13 |
# File 'lib/swagger_parser/contact.rb', line 11 def name source["name"] end |
#url ⇒ Object
16 17 18 |
# File 'lib/swagger_parser/contact.rb', line 16 def url source["url"] end |