Class: SwaggerParser::Contact

Inherits:
SourceBasedObject show all
Defined in:
lib/swagger_parser/contact.rb

Instance Attribute Summary

Attributes inherited from SourceBasedObject

#source

Instance Method Summary collapse

Methods inherited from SourceBasedObject

#initialize

Constructor Details

This class inherits a constructor from SwaggerParser::SourceBasedObject

Instance Method Details

#emailObject



6
7
8
# File 'lib/swagger_parser/contact.rb', line 6

def email
  source["email"]
end

#nameObject



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

def name
  source["name"]
end

#urlObject



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

def url
  source["url"]
end