debian-mirror-gitlab/app/services/dependency_proxy/base_service.rb

18 lines
258 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# frozen_string_literal: true
module DependencyProxy
class BaseService < ::BaseService
private
def registry
DependencyProxy::Registry
end
def auth_headers
{
Authorization: "Bearer #{@token}"
}
end
end
end