Sha256: dc1d64773750d4b983f3a090dbecf8f41c7b068944594e49faa1bc0607c5a57f

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module BackupRepos
  module Performers
    class GithubRepository < BaseGit
      def provider
        'GitHub'
      end

      def clone_url
        params.ssh_url
      end

      def backup_path
        "#{params.full_name}.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/github_repository.rb
backup_repos-0.4.0 lib/backup_repos/performers/github_repository.rb