Class: Gitlab::Ci::Reports::TerraformReports
- Inherits:
-
Object
- Object
- Gitlab::Ci::Reports::TerraformReports
- Defined in:
- lib/gitlab/ci/reports/terraform_reports.rb
Instance Attribute Summary collapse
-
#plans ⇒ Object
readonly
Returns the value of attribute plans.
Instance Method Summary collapse
- #add_plan(name, plan) ⇒ Object
-
#initialize ⇒ TerraformReports
constructor
A new instance of TerraformReports.
Constructor Details
#initialize ⇒ TerraformReports
Returns a new instance of TerraformReports.
9 10 11 |
# File 'lib/gitlab/ci/reports/terraform_reports.rb', line 9 def initialize @plans = {} end |
Instance Attribute Details
#plans ⇒ Object (readonly)
Returns the value of attribute plans.
7 8 9 |
# File 'lib/gitlab/ci/reports/terraform_reports.rb', line 7 def plans @plans end |
Instance Method Details
#add_plan(name, plan) ⇒ Object
13 14 15 |
# File 'lib/gitlab/ci/reports/terraform_reports.rb', line 13 def add_plan(name, plan) plans[name] = plan end |