Sha256: e2a43c49931d904e0510fd55f36e9a8aa7bbeaed5d7af338eec94d4747310c9d

Contents?: true

Size: 254 Bytes

Versions: 247

Compression:

Stored size: 254 Bytes

Contents

@object ||= @task
object @object

case @object
when ::ForemanTasks::Task
  extends 'foreman_tasks/api/tasks/show'
when ::Katello::TaskStatus
  extends 'katello/api/v2/tasks/task_status_show'
else
  fail "Unsupported task type: #{@object.class.name}"
end

Version data entries

247 entries across 247 versions & 1 rubygems

Version Path
katello-4.0.0.rc3 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.2.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.17.3 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.0.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.1.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.17.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.0.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.17.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.16.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.0.rc2.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.17.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.17.0.rc2.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.17.0.rc2.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.16.1.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.16.1.1 app/views/katello/api/v2/tasks/show.json.rabl