Class: RubocopPr::Repositories::Github

Inherits:
RubocopPr::Repository show all
Defined in:
lib/rubocop_pr/repositories/github.rb,
lib/rubocop_pr/repositories/github/checks/verify_hub_version.rb

Overview

Github repository

Defined Under Namespace

Modules: Checks Classes: Issue, PullRequest

Class Method Summary collapse

Methods inherited from RubocopPr::Repository

all, inherited

Class Method Details

.checksObject



41
42
43
# File 'lib/rubocop_pr/repositories/github.rb', line 41

def checks
  super + [RubocopPr::Repositories::Github::Checks::VerifyHubVersion]
end

.create_issue(*args) ⇒ Object



45
46
47
# File 'lib/rubocop_pr/repositories/github.rb', line 45

def create_issue(*args)
  Issue.new(*args).create
end

.create_pull_request(*args) ⇒ Object



49
50
51
# File 'lib/rubocop_pr/repositories/github.rb', line 49

def create_pull_request(*args)
  PullRequest.new(*args).create
end