Sha256: ccdcde09b10dacde2c13f20ced07fd92c0df1eb73fb313f12a533e20930a7518

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

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

2 entries across 2 versions & 1 rubygems

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