Class: BackupRepos::Performers::GitlabRepository
- Inherits:
-
BaseGit
show all
- Defined in:
- lib/backup_repos/performers/gitlab_repository.rb
Instance Attribute Summary
Attributes inherited from BaseGit
#options, #params
Instance Method Summary
collapse
Methods inherited from BaseGit
#backup, #initialize
Instance Method Details
#backup_path ⇒ Object
12
13
14
|
# File 'lib/backup_repos/performers/gitlab_repository.rb', line 12
def backup_path
"#{options[:endpoint_host]}/#{params.path_with_namespace}.git"
end
|
#clone_url ⇒ Object
8
9
10
|
# File 'lib/backup_repos/performers/gitlab_repository.rb', line 8
def clone_url
params.ssh_url_to_repo
end
|
4
5
6
|
# File 'lib/backup_repos/performers/gitlab_repository.rb', line 4
def provider
'GitLab'
end
|