Exception: ActsAsApprovable::Error::Stale

Inherits:
ActsAsApprovable::Error show all
Defined in:
lib/acts_as_approvable/error.rb

Overview

Raised when a stale approval is accepted.

Instance Method Summary collapse

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