class SwaggerParser::Info
Public Instance Methods
contact()
click to toggle source
@return [Object]
# File lib/swagger_parser/info.rb, line 11 def contact SwaggerParser::Contact.new(source["contact"]) end
description()
click to toggle source
@return [Object]
# File lib/swagger_parser/info.rb, line 16 def description source["description"] end
license()
click to toggle source
@return [Object]
# File lib/swagger_parser/info.rb, line 21 def license SwaggerParser::License.new(source["license"]) end
terms_of_service()
click to toggle source
@return [Object]
# File lib/swagger_parser/info.rb, line 26 def terms_of_service source["termsOfService"] end
title()
click to toggle source
@return [Object]
# File lib/swagger_parser/info.rb, line 31 def title source["title"] end
version()
click to toggle source
@return [Object]
# File lib/swagger_parser/info.rb, line 36 def version source["version"] end