Module: Elastictastic::Callbacks::InstanceMethods

Defined in:
lib/elastictastic/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#create ⇒ Object



17
18
19
# File 'lib/elastictastic/callbacks.rb', line 17

def create
  run_callbacks(:create) { super }
end

#destroy ⇒ Object



25
26
27
# File 'lib/elastictastic/callbacks.rb', line 25

def destroy
  run_callbacks(:destroy) { super }
end

#save ⇒ Object



13
14
15
# File 'lib/elastictastic/callbacks.rb', line 13

def save
  run_callbacks(:save) { super }
end

#update ⇒ Object



21
22
23
# File 'lib/elastictastic/callbacks.rb', line 21

def update
  run_callbacks(:update) { super }
end