Class: GitHelper::CodeRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/git_helper/code_request.rb

Instance Method Summary collapse

Instance Method Details

#createObject



3
4
5
6
7
8
# File 'lib/git_helper/code_request.rb', line 3

def create
  process_project.create({
    base_branch: base_branch,
    new_title: new_code_request_title
  })
end

#mergeObject



10
11
12
# File 'lib/git_helper/code_request.rb', line 10

def merge
  process_project.merge
end