Sha256: 59742d4b77b33d84e7f5d9c56ef859a5bf0a2de1d0e66a2b1558109c77d96157

Contents?: true

Size: 194 Bytes

Versions: 5

Compression:

Stored size: 194 Bytes

Contents

class PipelinesController < ApplicationController

  def index
    render json: current_entity.pipelines
  end

  def show
    render json: current_entity.pipelines.find(params[:id])
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jobs-api-0.2.1 app/controllers/pipelines_controller.rb
jobs-api-0.2.0 app/controllers/pipelines_controller.rb
jobs-api-0.1.2 app/controllers/pipelines_controller.rb
jobs-api-0.1.1 app/controllers/pipelines_controller.rb
jobs-api-0.1.0 app/controllers/pipelines_controller.rb