summaryrefslogtreecommitdiff
path: root/lib/api/entities/ci/pipeline_schedule_details.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/ci/pipeline_schedule_details.rb')
-rw-r--r--lib/api/entities/ci/pipeline_schedule_details.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/api/entities/ci/pipeline_schedule_details.rb b/lib/api/entities/ci/pipeline_schedule_details.rb
new file mode 100644
index 00000000000..b233728b95b
--- /dev/null
+++ b/lib/api/entities/ci/pipeline_schedule_details.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ module Ci
+ class PipelineScheduleDetails < PipelineSchedule
+ expose :last_pipeline, using: ::API::Entities::Ci::PipelineBasic
+ expose :variables, using: ::API::Entities::Ci::Variable
+ end
+ end
+ end
+end