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.3.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.2.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.3.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.3.0.rc4 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.3.0.rc3 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.3.0.rc2.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.3.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.3.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.2.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.2.0.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.1.4 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.0.3 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.2.0.1.rc3 app/views/katello/api/v2/tasks/show.json.rabl
katello-3.18.5 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.2.0.1.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.2.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.1.3 app/views/katello/api/v2/tasks/show.json.rabl