Class: Fictium::Configuration::Info
- Inherits:
-
Object
- Object
- Fictium::Configuration::Info
- Defined in:
- lib/fictium/configurations/info.rb
Instance Attribute Summary collapse
-
#contract ⇒ Object
Returns the value of attribute contract.
-
#description ⇒ Object
Returns the value of attribute description.
-
#license ⇒ Object
Returns the value of attribute license.
-
#terms_of_service ⇒ Object
Returns the value of attribute terms_of_service.
-
#title ⇒ Object
Returns the value of attribute title.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Info
constructor
A new instance of Info.
Constructor Details
#initialize ⇒ Info
Returns a new instance of Info.
6 7 8 9 |
# File 'lib/fictium/configurations/info.rb', line 6 def initialize self.title = 'TODO: Change me at Fictium.configuration.api' self.version = '0.1.0' end |
Instance Attribute Details
#contract ⇒ Object
Returns the value of attribute contract.
4 5 6 |
# File 'lib/fictium/configurations/info.rb', line 4 def contract @contract end |
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/fictium/configurations/info.rb', line 4 def description @description end |
#license ⇒ Object
Returns the value of attribute license.
4 5 6 |
# File 'lib/fictium/configurations/info.rb', line 4 def license @license end |
#terms_of_service ⇒ Object
Returns the value of attribute terms_of_service.
4 5 6 |
# File 'lib/fictium/configurations/info.rb', line 4 def terms_of_service @terms_of_service end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/fictium/configurations/info.rb', line 4 def title @title end |
#version ⇒ Object
Returns the value of attribute version.
4 5 6 |
# File 'lib/fictium/configurations/info.rb', line 4 def version @version end |