Exception: ActsAsApprovable::Error::Locked
- Inherits:
-
ActsAsApprovable::Error
- Object
- RuntimeError
- ActsAsApprovable::Error
- ActsAsApprovable::Error::Locked
- Defined in:
- lib/acts_as_approvable/error.rb
Overview
Raised when a locked approval is accepted or rejected.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Locked
constructor
A new instance of Locked.
Constructor Details
#initialize(*args) ⇒ Locked
Returns a new instance of Locked.
6 7 8 |
# File 'lib/acts_as_approvable/error.rb', line 6 def initialize(*args) super('this approval is locked') end |