Module: ResourcefulController::ClassMethods
- Includes:
- CrudDefinitions
- Defined in:
- lib/resourceful_controller.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Methods included from CrudDefinitions
#default_methods, #define_create, #define_crud_methods, #define_destroy, #define_edit, #define_index, #define_new, #define_show, #define_update, #excepted_methods, #methods, #specified_methods
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
26 27 28 |
# File 'lib/resourceful_controller.rb', line 26 def @options end |
Instance Method Details
#act_resourcefully(options = {}) ⇒ Object
28 29 30 31 |
# File 'lib/resourceful_controller.rb', line 28 def act_resourcefully = {} self. = define_crud_methods end |