Class: GitHelper::CodeRequest

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

Instance Method Summary collapse

Instance Method Details

#createObject



5
6
7
8
9
10
11
12
# File 'lib/git_helper/code_request.rb', line 5

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

#mergeObject



14
15
16
# File 'lib/git_helper/code_request.rb', line 14

def merge
  process_project.merge
end