module Commutator::Model::Hooks
Public Instance Methods
run_before_hooks(operation, options)
click to toggle source
# File lib/commutator/model/hooks.rb, line 6 def run_before_hooks(operation, options) self.class.before_hooks[operation].each do |method_name| send(method_name, options) end options end