Class: PuppetMetadata::GithubActions
- Inherits:
-
Object
- Object
- PuppetMetadata::GithubActions
- Defined in:
- lib/puppet_metadata/github_actions.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(metadata, options) ⇒ GithubActions
constructor
A new instance of GithubActions.
-
#outputs(at = nil) ⇒ Hash[Symbol, Any]
The outputs for Github Actions.
Constructor Details
#initialize(metadata, options) ⇒ GithubActions
Returns a new instance of GithubActions.
7 8 9 10 |
# File 'lib/puppet_metadata/github_actions.rb', line 7 def initialize(, ) @metadata = @options = end |
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
3 4 5 |
# File 'lib/puppet_metadata/github_actions.rb', line 3 def @metadata end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/puppet_metadata/github_actions.rb', line 3 def @options end |
Instance Method Details
#outputs(at = nil) ⇒ Hash[Symbol, Any]
Returns The outputs for Github Actions.
17 18 19 20 21 22 23 |
# File 'lib/puppet_metadata/github_actions.rb', line 17 def outputs(at = nil) { puppet_major_versions: puppet_major_versions, puppet_unit_test_matrix: puppet_unit_test_matrix, puppet_beaker_test_matrix: puppet_beaker_test_matrix(at), } end |