Sha256: 61f6f1cdf78426a6f0724f09575dd8ebdfc581aee7ed351bb2974664bea40d05
Contents?: true
Size: 588 Bytes
Versions: 92
Compression:
Stored size: 588 Bytes
Contents
module UINotifications module Tasks class Base < ::UINotifications::Base def initialize(task) @subject = @task = task end def initiator User.anonymous_admin end def troubleshooting_help_generator return @troubleshooting_help_generator if defined? @troubleshooting_help_generator @troubleshooting_help_generator = if @task.main_action ForemanTasks::TroubleshootingHelpGenerator.new(@task.main_action) end end end end end
Version data entries
92 entries across 92 versions & 1 rubygems