Class: SkinnyControllers::Operation::Default
- Defined in:
- lib/skinny_controllers/operation/default.rb
Instance Attribute Summary
Attributes inherited from Base
#authorized_via_parent, #current_user, #params
Instance Method Summary collapse
Methods inherited from Base
#allowed?, #allowed_for?, #association_name_from_object, #id_from_params, #initialize, #model_class, #model_name, #policy_class, #policy_for, #policy_method_name, run
Methods included from ModelHelpers
#model, #model_from_id, #model_from_named_id, #model_from_params, #model_from_scope, #sanitized_params, #scoped_model
Constructor Details
This class inherits a constructor from SkinnyControllers::Operation::Base
Instance Method Details
#run ⇒ Object
4 5 6 |
# File 'lib/skinny_controllers/operation/default.rb', line 4 def run model if allowed? end |