Class: BackupRepos::Performers::GithubWiki

Inherits:
BaseGit show all
Defined in:
lib/backup_repos/performers/github_wiki.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



14
15
16
# File 'lib/backup_repos/performers/github_wiki.rb', line 14

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

#clone_urlObject



10
11
12
# File 'lib/backup_repos/performers/github_wiki.rb', line 10

def clone_url
  "[email protected]:#{params.full_name}.wiki.git"
end

#providerObject



6
7
8
# File 'lib/backup_repos/performers/github_wiki.rb', line 6

def provider
  'GitHub'
end