Class: Eazypi::License
- Inherits:
-
Object
- Object
- Eazypi::License
- Includes:
- SpecObject
- Defined in:
- lib/eazypi/license.rb
Overview
OpenAPI spec InfoObject
Instance Method Summary collapse
Methods included from SpecObject
Instance Method Details
#to_openapi_spec ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/eazypi/license.rb', line 12 def to_openapi_spec { "name" => name, "identifier" => identifier, "url" => url }.compact end |