Class: WorkItems::Widgets::Notes
- Defined in:
- app/models/work_items/widgets/notes.rb
Instance Attribute Summary
Attributes inherited from Base
#widget_definition, #work_item
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
api_symbol, callback_class, #initialize, process_quick_action_param, sorting_keys, sync_data_callback_class, #sync_data_callback_class, #type, type
Constructor Details
This class inherits a constructor from WorkItems::Widgets::Base
Class Method Details
.quick_action_commands ⇒ Object
11 12 13 |
# File 'app/models/work_items/widgets/notes.rb', line 11 def self.quick_action_commands [:lock, :unlock] end |
.quick_action_params ⇒ Object
15 16 17 |
# File 'app/models/work_items/widgets/notes.rb', line 15 def self.quick_action_params [:discussion_locked] end |
Instance Method Details
#declarative_policy_delegate ⇒ Object
19 20 21 |
# File 'app/models/work_items/widgets/notes.rb', line 19 def declarative_policy_delegate work_item end |