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.
175 176 177 178 179 |
# File 'lib/spikard/config.rb', line 175 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.
170 171 172 |
# File 'lib/spikard/config.rb', line 170 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
170 171 172 |
# File 'lib/spikard/config.rb', line 170 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
170 171 172 |
# File 'lib/spikard/config.rb', line 170 def url @url end |