Sha256: 9b35a61b8309f00a9168423c1a038f76af10b0ddf42ecc76a30c83caccc5511a
Contents?: true
Size: 519 Bytes
Versions: 8
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true module GitlabQuality module TestTooling module GitlabClient class RepositoryFilesClient < GitlabClient attr_reader :file_path, :ref def initialize(file_path:, ref:, **kwargs) @file_path = file_path @ref = ref super end def file_contents handle_gitlab_client_exceptions do client.file_contents(project, file_path.gsub(%r{^/}, ""), ref) end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems