Class: Moist::Steps::Step
- Inherits:
-
Object
- Object
- Moist::Steps::Step
- Defined in:
- lib/moist/steps/step.rb
Instance Attribute Summary collapse
-
#mailer_action ⇒ Object
readonly
Returns the value of attribute mailer_action.
-
#mailer_class ⇒ Object
readonly
Returns the value of attribute mailer_class.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(mailer_class, mailer_action, options = {}) ⇒ Step
constructor
A new instance of Step.
- #name ⇒ Object
Constructor Details
#initialize(mailer_class, mailer_action, options = {}) ⇒ Step
Returns a new instance of Step.
5 6 7 8 9 |
# File 'lib/moist/steps/step.rb', line 5 def initialize(mailer_class, mailer_action, = {}) @mailer_class = mailer_class @mailer_action = mailer_action @options = end |
Instance Attribute Details
#mailer_action ⇒ Object (readonly)
Returns the value of attribute mailer_action.
4 5 6 |
# File 'lib/moist/steps/step.rb', line 4 def mailer_action @mailer_action end |
#mailer_class ⇒ Object (readonly)
Returns the value of attribute mailer_class.
4 5 6 |
# File 'lib/moist/steps/step.rb', line 4 def mailer_class @mailer_class end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/moist/steps/step.rb', line 4 def @options end |
Instance Method Details
#name ⇒ Object
11 12 13 |
# File 'lib/moist/steps/step.rb', line 11 def name "#{mailer_class}##{mailer_action}" end |