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.10.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.9.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.10.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.10.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.8.4 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.9.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.8.3 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.9.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.7.6 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.8.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.9.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.9.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.8.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.7.5 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.8.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.8.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.7.4 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.8.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.7.3 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.7.2 app/views/katello/api/v2/tasks/show.json.rabl