Class: Terraform::Binary::Configuration
- Inherits:
-
Object
- Object
- Terraform::Binary::Configuration
- Defined in:
- lib/terraform/binary.rb
Overview
This class holds the global configuration items
Instance Attribute Summary collapse
-
#download_path ⇒ Object
Returns the value of attribute download_path.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
60 61 62 63 |
# File 'lib/terraform/binary.rb', line 60 def initialize @version = TERRAFORM_VERSION @download_path = '/tmp' end |
Instance Attribute Details
#download_path ⇒ Object
Returns the value of attribute download_path.
58 59 60 |
# File 'lib/terraform/binary.rb', line 58 def download_path @download_path end |
#version ⇒ Object
Returns the value of attribute version.
57 58 59 |
# File 'lib/terraform/binary.rb', line 57 def version @version end |