Class: GhBbAudit::GithubHost

Inherits:
Object
  • Object
show all
Defined in:
lib/gh_bb_audit/github_host.rb

Class Method Summary collapse

Class Method Details

.nameObject



11
12
13
# File 'lib/gh_bb_audit/github_host.rb', line 11

def self.name
  "GITHUB"
end

.repo(user_name, repo_name) ⇒ Object



7
8
9
# File 'lib/gh_bb_audit/github_host.rb', line 7

def self.repo(user_name,repo_name)
  ::GhBbAudit::Github::GithubRepo.new(user_name,repo_name)
end

.user(user_name) ⇒ Object



3
4
5
# File 'lib/gh_bb_audit/github_host.rb', line 3

def self.user(user_name)
  ::GhBbAudit::Github::GithubUser.new(user_name)
end