Method: LogicalModel::RESTActions::InstanceMethods#create

Defined in:
lib/logical_model/rest_actions.rb

#create(params = {}) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/logical_model/rest_actions.rb', line 11

def create(params={})
  run_callbacks :save do
    run_callbacks :create do
      _create(params)
    end
  end
end