Class: Versionizer::Config
- Inherits:
-
Object
- Object
- Versionizer::Config
- Defined in:
- lib/versionizer/config.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
13 14 15 16 17 |
# File 'lib/versionizer/config.rb', line 13 def initialize @user = "richpeck" @api = "29fbd56c3ab779a8ef22df8e52671c8c1c1ff194" @repo = "sgm" end |
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
11 12 13 |
# File 'lib/versionizer/config.rb', line 11 def api @api end |
#repo ⇒ Object
Returns the value of attribute repo.
11 12 13 |
# File 'lib/versionizer/config.rb', line 11 def repo @repo end |
#user ⇒ Object
Returns the value of attribute user.
11 12 13 |
# File 'lib/versionizer/config.rb', line 11 def user @user end |