Class: JobInvocationTaskGroup

Inherits:
ForemanTasks::TaskGroup
  • Object
show all
Defined in:
app/models/job_invocation_task_group.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.search_query_for(thing) ⇒ Object



11
12
13
14
15
16
# File 'app/models/job_invocation_task_group.rb', line 11

def self.search_query_for(thing)
  case thing
  when ::ForemanTasks::RecurringLogic
    "recurring_logic.id = #{thing.id}"
  end
end

Instance Method Details

#resource_nameObject



7
8
9
# File 'app/models/job_invocation_task_group.rb', line 7

def resource_name
  N_('Job Invocation')
end