Module: Unwrappr::GitHub::Client
- Defined in:
- lib/unwrappr/github/client.rb
Overview
GitHub Interactions
Class Method Summary collapse
Class Method Details
.make_pull_request!(lock_files) ⇒ Object
15 16 17 18 19 |
# File 'lib/unwrappr/github/client.rb', line 15 def make_pull_request!(lock_files) create_and_annotate_pull_request(lock_files) rescue Octokit::ClientError => e raise "Failed to create and annotate pull request: #{e}" end |
.reset_client ⇒ Object
10 11 12 13 |
# File 'lib/unwrappr/github/client.rb', line 10 def reset_client @git_client = nil @github_token = nil end |