Exception: ActsAsApprovable::Error::Locked

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

Overview

Raised when a locked approval is accepted or rejected.

Instance Method Summary collapse

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