Class: BackupRepos::Performers::GithubRepository

Inherits:
BaseGit show all
Defined in:
lib/backup_repos/performers/github_repository.rb

Instance Attribute Summary

Attributes inherited from BaseGit

#options, #params

Instance Method Summary collapse

Methods inherited from BaseGit

#backup, #initialize

Constructor Details

This class inherits a constructor from BackupRepos::Performers::BaseGit

Instance Method Details

#backup_pathObject



12
13
14
# File 'lib/backup_repos/performers/github_repository.rb', line 12

def backup_path
  "#{params.full_name}.git"
end

#clone_urlObject



8
9
10
# File 'lib/backup_repos/performers/github_repository.rb', line 8

def clone_url
  params.ssh_url
end

#providerObject



4
5
6
# File 'lib/backup_repos/performers/github_repository.rb', line 4

def provider
  'GitHub'
end