16 lines
322 B
Ruby
16 lines
322 B
Ruby
# frozen_string_literal: true
|
|
|
|
module API
|
|
module Entities
|
|
module Ci
|
|
module JobRequest
|
|
class GitInfo < Grape::Entity
|
|
expose :repo_url, :ref, :sha, :before_sha
|
|
expose :ref_type
|
|
expose :refspecs
|
|
expose :git_depth, as: :depth
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|