Module: ForemanTasks::Concerns::HostActionSubject

Extended by:
ActiveSupport::Concern
Includes:
ActionSubject
Defined in:
app/models/foreman_tasks/concerns/host_action_subject.rb

Instance Method Summary collapse

Methods included from ActionSubject

#all_related_resources, #related_resources, #to_action_input

Instance Method Details

#action_input_keyObject



7
8
9
# File 'app/models/foreman_tasks/concerns/host_action_subject.rb', line 7

def action_input_key
  'host'
end

#available_locksObject



11
12
13
# File 'app/models/foreman_tasks/concerns/host_action_subject.rb', line 11

def available_locks
  [:read, :write, :import_facts]
end