module ApiResource::Callbacks::InstanceMethods
Public Instance Methods
create_with_callbacks(*args)
click to toggle source
# File lib/api_resource/callbacks.rb, line 27 def create_with_callbacks(*args) _run_create_callbacks do create_without_callbacks(*args) end end
destroy_with_callbacks(*args)
click to toggle source
# File lib/api_resource/callbacks.rb, line 39 def destroy_with_callbacks(*args) _run_destroy_callbacks do destroy_without_callbacks(*args) end end
save_with_callbacks(*args)
click to toggle source
# File lib/api_resource/callbacks.rb, line 21 def save_with_callbacks(*args) _run_save_callbacks do save_without_callbacks(*args) end end
update_with_callbacks(*args)
click to toggle source
# File lib/api_resource/callbacks.rb, line 33 def update_with_callbacks(*args) _run_update_callbacks do update_without_callbacks(*args) end end