Class: Interaktor::Error::InvalidMethodForStateError
- Inherits:
-
Base
- Object
- Base
- Interaktor::Error::InvalidMethodForStateError
- Defined in:
- lib/interaktor/error/invalid_method_for_state_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(interaktor, message) ⇒ InvalidMethodForStateError
constructor
A new instance of InvalidMethodForStateError.
Constructor Details
#initialize(interaktor, message) ⇒ InvalidMethodForStateError
Returns a new instance of InvalidMethodForStateError.
6 7 8 9 |
# File 'lib/interaktor/error/invalid_method_for_state_error.rb', line 6 def initialize(interaktor, ) super(interaktor) @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
2 3 4 |
# File 'lib/interaktor/error/invalid_method_for_state_error.rb', line 2 def @message end |