Sha256: 6b19153883519b433bfa40730eff68e7429b3a0b2a2af2c99b47c6330c48ef6d

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module BackupRepos
  module Performers
    class GitlabRepository < BaseGit
      def provider
        'GitLab'
      end

      def clone_url
        params.ssh_url_to_repo
      end

      def backup_path
        "#{options[:endpoint_host]}/#{params.path_with_namespace}.git"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backup_repos-0.5.0 lib/backup_repos/performers/gitlab_repository.rb
backup_repos-0.4.0 lib/backup_repos/performers/gitlab_repository.rb