summaryrefslogtreecommitdiff
path: root/lib/api/entities/pipeline_schedule.rb
blob: a72fe3f314176cbf4449be66ee14cbc22f6b453d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module API
  module Entities
    class PipelineSchedule < Grape::Entity
      expose :id
      expose :description, :ref, :cron, :cron_timezone, :next_run_at, :active
      expose :created_at, :updated_at
      expose :owner, using: Entities::UserBasic
    end
  end
end