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.31.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.30.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.29.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.28.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.28.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.27.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.27.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.26.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.25.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.25.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.24.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.23.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.23.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.22.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.21.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.20.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.20.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.19.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.18.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.18.0 app/controllers/shipit/api/outputs_controller.rb