Class: Bcome::Terraform::Output
- Inherits:
-
Object
- Object
- Bcome::Terraform::Output
- Defined in:
- lib/objects/terraform/output.rb
Constant Summary collapse
- OUTPUT_COMMAND =
'terraform output -json'
Instance Method Summary collapse
-
#initialize(namespace) ⇒ Output
constructor
A new instance of Output.
- #output ⇒ Object
Constructor Details
#initialize(namespace) ⇒ Output
Returns a new instance of Output.
9 10 11 |
# File 'lib/objects/terraform/output.rb', line 9 def initialize(namespace) @namespace = namespace end |
Instance Method Details
#output ⇒ Object
13 14 15 |
# File 'lib/objects/terraform/output.rb', line 13 def output @output ||= get_output end |