Class: Spikard::LicenseInfo
- Inherits:
-
Object
- Object
- Spikard::LicenseInfo
- Defined in:
- lib/spikard/config.rb
Overview
License information for OpenAPI documentation.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(name:, url: nil) ⇒ LicenseInfo
constructor
A new instance of LicenseInfo.
Constructor Details
#initialize(name:, url: nil) ⇒ LicenseInfo
Returns a new instance of LicenseInfo.
194 195 196 197 |
# File 'lib/spikard/config.rb', line 194 def initialize(name:, url: nil) @name = name @url = url end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
190 191 192 |
# File 'lib/spikard/config.rb', line 190 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
190 191 192 |
# File 'lib/spikard/config.rb', line 190 def url @url end |