Class: Zanzibar::Actions::Base
- Inherits:
-
Object
- Object
- Zanzibar::Actions::Base
- Defined in:
- lib/zanzibar/actions/base.rb
Overview
Basic plumbing for all actions
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(logger, options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(logger, options = {}) ⇒ Base
Returns a new instance of Base.
11 12 13 14 |
# File 'lib/zanzibar/actions/base.rb', line 11 def initialize(logger, = {}) self.logger = logger self. = end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
8 9 10 |
# File 'lib/zanzibar/actions/base.rb', line 8 def logger @logger end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/zanzibar/actions/base.rb', line 5 def end |