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.
170 171 172 173 |
# File 'lib/spikard/config.rb', line 170 def initialize(name:, url: nil) @name = name @url = url end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
166 167 168 |
# File 'lib/spikard/config.rb', line 166 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
166 167 168 |
# File 'lib/spikard/config.rb', line 166 def url @url end |