Sha256: 5fe51153879b2bd061e3392cae87b02cdcd45a998291bbd46930840e8c729f1e
Contents?: true
Size: 350 Bytes
Versions: 4
Compression:
Stored size: 350 Bytes
Contents
require 'gitlab' module GitHelper class GitLabClient def client Gitlab.client(endpoint: gitlab_endpoint, private_token: git_config_reader.gitlab_token) end private def git_config_reader @git_config_reader ||= GitConfigReader.new end private def gitlab_endpoint 'https://gitlab.com/api/v4' end end end
Version data entries
4 entries across 4 versions & 1 rubygems