Sha256: a4ad69de78386a3fef36015b3b00a1f4d7e61b85e3bf366311fcb1daff9d1f9f

Contents?: true

Size: 289 Bytes

Versions: 46

Compression:

Stored size: 289 Bytes

Contents

module Shipit
  module Api
    class OutputsController < BaseController
      require_permission :read, :stack

      def show
        render plain: task.chunk_output
      end

      private

      def task
        @task ||= stack.tasks.find(params[:task_id])
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
shipit-engine-0.17.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.16.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.15.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.14.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.13.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.12.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.12.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.11.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.10.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.9.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.9 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.8 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.7 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.6 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.5 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.4 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.3 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.2 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.8.0 app/controllers/shipit/api/outputs_controller.rb