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
#all_related_resources, #related_resources, #to_action_input
Instance Method Details
7
8
9
|
# File 'app/models/foreman_tasks/concerns/host_action_subject.rb', line 7
def action_input_key
'host'
end
|
#available_locks ⇒ Object
11
12
13
|
# File 'app/models/foreman_tasks/concerns/host_action_subject.rb', line 11
def available_locks
[:read, :write, :import_facts]
end
|