Method: DataMapper::Resource#after_create_hook

Defined in:
lib/dm-core/resource.rb

#after_create_hookundefined (protected)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Method for hooking callbacks after resource creation

Returns:

  • (undefined)


703
704
705
# File 'lib/dm-core/resource.rb', line 703

def after_create_hook
  execute_hooks_for(:after, :create)
end