Class: Audit::Ovl::Configuration
- Inherits:
-
Object
- Object
- Audit::Ovl::Configuration
- Defined in:
- lib/audit_ovl/configuration.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#budget ⇒ Object
Returns the value of attribute budget.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 |
# File 'lib/audit_ovl/configuration.rb', line 10 def initialize @budget = 50 @logger = Logger.new($stdout) @action = :log # :log or :raise end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
8 9 10 |
# File 'lib/audit_ovl/configuration.rb', line 8 def action @action end |
#budget ⇒ Object
Returns the value of attribute budget.
8 9 10 |
# File 'lib/audit_ovl/configuration.rb', line 8 def budget @budget end |
#logger ⇒ Object
Returns the value of attribute logger.
8 9 10 |
# File 'lib/audit_ovl/configuration.rb', line 8 def logger @logger end |