class SwaggerYard::Info

Public Instance Methods

to_h() click to toggle source
# File lib/swagger_yard/swagger.rb, line 3
def to_h
  {
    "title"       => SwaggerYard.config.title,
    "description" => SwaggerYard.config.description,
    "version"     => SwaggerYard.config.api_version
  }
end