Class: Spikard::ContactInfo
- Inherits:
-
Object
- Object
- Spikard::ContactInfo
- Defined in:
- lib/spikard/config.rb
Overview
Contact information for OpenAPI documentation.
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(name: nil, email: nil, url: nil) ⇒ ContactInfo
constructor
A new instance of ContactInfo.
Constructor Details
#initialize(name: nil, email: nil, url: nil) ⇒ ContactInfo
Returns a new instance of ContactInfo.
151 152 153 154 155 |
# File 'lib/spikard/config.rb', line 151 def initialize(name: nil, email: nil, url: nil) @name = name @email = email @url = url end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
146 147 148 |
# File 'lib/spikard/config.rb', line 146 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
146 147 148 |
# File 'lib/spikard/config.rb', line 146 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
146 147 148 |
# File 'lib/spikard/config.rb', line 146 def url @url end |