Sha256: a74102113d7c493f8bbb68a60ddaafb2058b6de90835292cc41164abcbe631d0

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
backup_repos-0.3.0 lib/backup_repos/performers/gitlab_repository.rb
backup_repos-0.2.1 lib/backup_repos/performers/gitlab_repository.rb
backup_repos-0.2.0 lib/backup_repos/performers/gitlab_repository.rb