Class: Gitabu::Api::V3::Checks
- Inherits:
-
Object
- Object
- Gitabu::Api::V3::Checks
- Defined in:
- lib/gitabu/api/v3/checks.rb
Overview
Checks endpoints.
Class Method Summary collapse
- .create_a_check_run(owner: nil, repo: nil, name: nil, head_sha: nil, details_url: nil, external_id: nil, status: nil, started_at: nil, conclusion: nil, completed_at: nil, output: nil, actions: nil, options: nil) ⇒ Object
- .create_a_check_suite(owner: nil, repo: nil, head_sha: nil, options: nil) ⇒ Object
- .get_a_check_run(owner: nil, repo: nil, check_run_id: nil, options: nil) ⇒ Object
- .get_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) ⇒ Object
- .list_check_run_annotations(owner: nil, repo: nil, check_run_id: nil, options: nil) ⇒ Object
- .list_check_runs_for_a_git_reference(owner: nil, repo: nil, ref: nil, options: nil) ⇒ Object
- .list_check_runs_in_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) ⇒ Object
- .list_check_suites_for_a_git_reference(owner: nil, repo: nil, ref: nil, options: nil) ⇒ Object
- .rerequest_a_check_run(owner: nil, repo: nil, check_run_id: nil, options: nil) ⇒ Object
- .rerequest_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) ⇒ Object
- .update_a_check_run(owner: nil, repo: nil, check_run_id: nil, name: nil, details_url: nil, external_id: nil, started_at: nil, status: nil, conclusion: nil, completed_at: nil, output: nil, actions: nil, options: nil) ⇒ Object
- .update_repository_preferences_for_check_suites(owner: nil, repo: nil, auto_trigger_checks: nil, options: nil) ⇒ Object
Class Method Details
.create_a_check_run(owner: nil, repo: nil, name: nil, head_sha: nil, details_url: nil, external_id: nil, status: nil, started_at: nil, conclusion: nil, completed_at: nil, output: nil, actions: nil, options: nil) ⇒ Object
38 39 40 |
# File 'lib/gitabu/api/v3/checks.rb', line 38 def self.create_a_check_run(owner: nil, repo: nil, name: nil, head_sha: nil, details_url: nil, external_id: nil, status: nil, started_at: nil, conclusion: nil, completed_at: nil, output: nil, actions: nil, options: nil) new.create_a_check_run(owner, repo, name, head_sha, details_url, external_id, status, started_at, conclusion, completed_at, output, actions, ) end |
.create_a_check_suite(owner: nil, repo: nil, head_sha: nil, options: nil) ⇒ Object
66 67 68 |
# File 'lib/gitabu/api/v3/checks.rb', line 66 def self.create_a_check_suite(owner: nil, repo: nil, head_sha: nil, options: nil) new.create_a_check_suite(owner, repo, head_sha, ) end |
.get_a_check_run(owner: nil, repo: nil, check_run_id: nil, options: nil) ⇒ Object
42 43 44 |
# File 'lib/gitabu/api/v3/checks.rb', line 42 def self.get_a_check_run(owner: nil, repo: nil, check_run_id: nil, options: nil) new.get_a_check_run(owner, repo, check_run_id, ) end |
.get_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) ⇒ Object
74 75 76 |
# File 'lib/gitabu/api/v3/checks.rb', line 74 def self.get_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) new.get_a_check_suite(owner, repo, check_suite_id, ) end |
.list_check_run_annotations(owner: nil, repo: nil, check_run_id: nil, options: nil) ⇒ Object
50 51 52 |
# File 'lib/gitabu/api/v3/checks.rb', line 50 def self.list_check_run_annotations(owner: nil, repo: nil, check_run_id: nil, options: nil) new.list_check_run_annotations(owner, repo, check_run_id, ) end |
.list_check_runs_for_a_git_reference(owner: nil, repo: nil, ref: nil, options: nil) ⇒ Object
62 63 64 |
# File 'lib/gitabu/api/v3/checks.rb', line 62 def self.list_check_runs_for_a_git_reference(owner: nil, repo: nil, ref: nil, options: nil) new.list_check_runs_for_a_git_reference(owner, repo, ref, ) end |
.list_check_runs_in_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) ⇒ Object
58 59 60 |
# File 'lib/gitabu/api/v3/checks.rb', line 58 def self.list_check_runs_in_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) new.list_check_runs_in_a_check_suite(owner, repo, check_suite_id, ) end |
.list_check_suites_for_a_git_reference(owner: nil, repo: nil, ref: nil, options: nil) ⇒ Object
82 83 84 |
# File 'lib/gitabu/api/v3/checks.rb', line 82 def self.list_check_suites_for_a_git_reference(owner: nil, repo: nil, ref: nil, options: nil) new.list_check_suites_for_a_git_reference(owner, repo, ref, ) end |
.rerequest_a_check_run(owner: nil, repo: nil, check_run_id: nil, options: nil) ⇒ Object
54 55 56 |
# File 'lib/gitabu/api/v3/checks.rb', line 54 def self.rerequest_a_check_run(owner: nil, repo: nil, check_run_id: nil, options: nil) new.rerequest_a_check_run(owner, repo, check_run_id, ) end |
.rerequest_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) ⇒ Object
78 79 80 |
# File 'lib/gitabu/api/v3/checks.rb', line 78 def self.rerequest_a_check_suite(owner: nil, repo: nil, check_suite_id: nil, options: nil) new.rerequest_a_check_suite(owner, repo, check_suite_id, ) end |
.update_a_check_run(owner: nil, repo: nil, check_run_id: nil, name: nil, details_url: nil, external_id: nil, started_at: nil, status: nil, conclusion: nil, completed_at: nil, output: nil, actions: nil, options: nil) ⇒ Object
46 47 48 |
# File 'lib/gitabu/api/v3/checks.rb', line 46 def self.update_a_check_run(owner: nil, repo: nil, check_run_id: nil, name: nil, details_url: nil, external_id: nil, started_at: nil, status: nil, conclusion: nil, completed_at: nil, output: nil, actions: nil, options: nil) new.update_a_check_run(owner, repo, check_run_id, name, details_url, external_id, started_at, status, conclusion, completed_at, output, actions, ) end |
.update_repository_preferences_for_check_suites(owner: nil, repo: nil, auto_trigger_checks: nil, options: nil) ⇒ Object
70 71 72 |
# File 'lib/gitabu/api/v3/checks.rb', line 70 def self.update_repository_preferences_for_check_suites(owner: nil, repo: nil, auto_trigger_checks: nil, options: nil) new.update_repository_preferences_for_check_suites(owner, repo, auto_trigger_checks, ) end |