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.7.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.6.2.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.6.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.7.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.6.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.7.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.7.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.2.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.2.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.5.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.6.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.6.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.6.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.5.0 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.5.0.rc2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.5.0.rc1 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.0.2 app/views/katello/api/v2/tasks/show.json.rabl
katello-4.4.0.1 app/views/katello/api/v2/tasks/show.json.rabl