17 lines
258 B
Ruby
17 lines
258 B
Ruby
# frozen_string_literal: true
|
|
|
|
module DependencyProxy
|
|
class BaseService < ::BaseService
|
|
private
|
|
|
|
def registry
|
|
DependencyProxy::Registry
|
|
end
|
|
|
|
def auth_headers
|
|
{
|
|
Authorization: "Bearer #{@token}"
|
|
}
|
|
end
|
|
end
|
|
end
|