Class: TidyReset::Configuration
- Inherits:
-
Object
- Object
- TidyReset::Configuration
- Defined in:
- lib/tidy_reset/configuration.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
-
#database_encoding ⇒ Object
Returns the value of attribute database_encoding.
-
#databases ⇒ Object
Returns the value of attribute databases.
-
#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.
5 6 7 8 9 10 |
# File 'lib/tidy_reset/configuration.rb', line 5 def initialize @databases = [] @database_encoding = 'utf8' @app = '' @token = nil end |
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
3 4 5 |
# File 'lib/tidy_reset/configuration.rb', line 3 def app @app end |
#database_encoding ⇒ Object
Returns the value of attribute database_encoding.
3 4 5 |
# File 'lib/tidy_reset/configuration.rb', line 3 def database_encoding @database_encoding end |
#databases ⇒ Object
Returns the value of attribute databases.
3 4 5 |
# File 'lib/tidy_reset/configuration.rb', line 3 def databases @databases end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/tidy_reset/configuration.rb', line 3 def token @token end |