Class: Kitties::Configuration
- Inherits:
-
Object
- Object
- Kitties::Configuration
- Defined in:
- lib/kittyverse/api/versions.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 |
# File 'lib/kittyverse/api/versions.rb', line 9 def initialize # try default setup via ENV variables @token = ENV[ 'KITTIES_TOKEN' ] @debug = false end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
7 8 9 |
# File 'lib/kittyverse/api/versions.rb', line 7 def debug @debug end |
#token ⇒ Object
Returns the value of attribute token.
6 7 8 |
# File 'lib/kittyverse/api/versions.rb', line 6 def token @token end |