Class: Approval::Item

Inherits:
ApplicationRecord show all
Defined in:
app/models/approval/item.rb

Defined Under Namespace

Classes: UnexistResource

Constant Summary collapse

EVENTS =
%w[create update destroy perform].freeze

Instance Method Summary collapse

Instance Method Details

#applyObject


26
27
28
# File 'app/models/approval/item.rb', line 26

def apply
  send("exec_#{event}")
end