gitlab-org--gitlab-foss/lib/api/entities/remote_mirror.rb

17 lines
386 B
Ruby

# frozen_string_literal: true
module API
module Entities
class RemoteMirror < Grape::Entity
expose :id
expose :enabled
expose :safe_url, as: :url
expose :update_status
expose :last_update_at
expose :last_update_started_at
expose :last_successful_update_at
expose :last_error
expose :only_protected_branches
end
end
end