Module: Toy::Callbacks

Extended by:
ActiveSupport::Concern
Included in:
Store, Timestamps
Defined in:
lib/toy/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



14
15
16
# File 'lib/toy/callbacks.rb', line 14

def destroy
  run_callbacks(:destroy) { super }
end

#save(options = {}) ⇒ Object



10
11
12
# File 'lib/toy/callbacks.rb', line 10

def save(options={})
  run_callbacks(:save) { super }
end