Exception: ActsAsApprovable::Error::Stale
- Inherits:
-
ActsAsApprovable::Error
- Object
- RuntimeError
- ActsAsApprovable::Error
- ActsAsApprovable::Error::Stale
- Defined in:
- lib/acts_as_approvable/error.rb
Overview
Raised when a stale approval is accepted.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Stale
constructor
A new instance of Stale.
Constructor Details
#initialize(*args) ⇒ Stale
Returns a new instance of Stale.
14 15 16 |
# File 'lib/acts_as_approvable/error.rb', line 14 def initialize(*args) super('this approval is stale and should not be approved') end |