Class: CopyBot::Config
- Inherits:
-
Object
- Object
- CopyBot::Config
- Defined in:
- lib/copy_bot/config.rb
Constant Summary collapse
- DEFAULT_PERMITTED_ENVIRONMENTS =
['development'].freeze
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
11 12 13 14 |
# File 'lib/copy_bot/config.rb', line 11 def initialize @logger = default_logger @permitted_environments = DEFAULT_PERMITTED_ENVIRONMENTS end |
Instance Attribute Details
#logger ⇒ Logger
4 5 6 |
# File 'lib/copy_bot/config.rb', line 4 def logger @logger end |
#permitted_environments ⇒ Array<String>
7 8 9 |
# File 'lib/copy_bot/config.rb', line 7 def permitted_environments @permitted_environments end |