Sha256: 5620b5fe26e811b4daf033fb39937dcf8989c582887837a3d69b9121a896132e

Contents?: true

Size: 372 Bytes

Versions: 4

Compression:

Stored size: 372 Bytes

Contents

module BackupRepos
  module Performers
    class BitbucketGitRepository < BaseGit
      def provider
        'BitBucket'
      end

      def clone_url
        "git@bitbucket.org:#{full_name}.git"
      end

      def backup_path
        "#{full_name}.git"
      end

      private

      def full_name
        "#{params.owner}/#{params.slug}"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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