Class: Actions::Katello::Organization::SimpleContentAccess::Disable
- Inherits:
-
Toggle
- Object
- EntryAction
- AbstractAsyncTask
- Toggle
- Actions::Katello::Organization::SimpleContentAccess::Disable
- Defined in:
- app/lib/actions/katello/organization/simple_content_access/disable.rb
Constant Summary
Constants inherited from Toggle
Toggle::SIMPLE_CONTENT_ACCESS_DISABLED_VALUE, Toggle::SIMPLE_CONTENT_ACCESS_ENABLED_VALUE
Instance Attribute Summary
Attributes inherited from Toggle
Instance Method Summary collapse
- #content_access_mode_value ⇒ Object
- #humanized_name ⇒ Object
- #task_error_notification ⇒ Object
- #task_success_notification ⇒ Object
Methods inherited from Toggle
#failure_notification, #humanized_input, #plan, #run, #success_notification
Methods included from Helpers::Notifications
#failure_notification, #get_foreman_task, included, #plan_failed?, #send_notification, #subject_organization, #success_notification
Methods inherited from AbstractAsyncTask
#humanized_output, #rescue_strategy
Instance Method Details
#content_access_mode_value ⇒ Object
6 7 8 |
# File 'app/lib/actions/katello/organization/simple_content_access/disable.rb', line 6 def content_access_mode_value SIMPLE_CONTENT_ACCESS_DISABLED_VALUE end |
#humanized_name ⇒ Object
10 11 12 |
# File 'app/lib/actions/katello/organization/simple_content_access/disable.rb', line 10 def humanized_name N_("Disable Simple Content Access") end |
#task_error_notification ⇒ Object
18 19 20 |
# File 'app/lib/actions/katello/organization/simple_content_access/disable.rb', line 18 def task_error_notification ::Katello::UINotifications::Subscriptions::SCADisableError end |
#task_success_notification ⇒ Object
14 15 16 |
# File 'app/lib/actions/katello/organization/simple_content_access/disable.rb', line 14 def task_success_notification ::Katello::UINotifications::Subscriptions::SCADisableSuccess end |