Class: Shields::Badge::Build::GithubBranchCheckRuns
- Inherits:
-
Shields::Badge::Base
- Object
- Shields::Badge::Base
- Shields::Badge::Build::GithubBranchCheckRuns
- Defined in:
- lib/shields/badge/build/github_branch_check_runs.rb
Overview
Shield for GitHub Actions CI status
See: https://shields.io/badges/git-hub-branch-check-runs
Defined Under Namespace
Constant Summary
Constants inherited from Shields::Badge::Base
Shields::Badge::Base::BASE_URL, Shields::Badge::Base::HTTP_METHOD
Instance Attribute Summary
Attributes inherited from Shields::Badge::Base
#anchor_href, #anchor_params, #image_type, #label, #path_parameters, #query_parameters
Class Method Summary collapse
-
.anchor_href_template ⇒ Object
-
.api_template ⇒ Object
Formatted string specification template See: https://ruby-doc.org/3.4.1/String.html#method-i-25.
-
.label_text_template ⇒ Object
Methods inherited from Shields::Badge::Base
anchor_href_url, #format, img_src_url, #initialize, label_text
Constructor Details
This class inherits a constructor from Shields::Badge::Base
Class Method Details
.anchor_href_template ⇒ Object
33 |
# File 'lib/shields/badge/build/github_branch_check_runs.rb', line 33 def anchor_href_template = "https://github.com/%{user}/%{repo}/actions" |
.api_template ⇒ Object
Formatted string specification template
See: https://ruby-doc.org/3.4.1/String.html#method-i-25
31 |
# File 'lib/shields/badge/build/github_branch_check_runs.rb', line 31 def api_template = "/github/check-runs/%{user}/%{repo}/%{branch}" |
.label_text_template ⇒ Object
35 |
# File 'lib/shields/badge/build/github_branch_check_runs.rb', line 35 def label_text_template = "%{user}/%{repo} check runs (branch: %{branch})" |