Class: Ruby::Terraform::Configuration
- Inherits:
-
Object
- Object
- Ruby::Terraform::Configuration
- Defined in:
- lib/ruby/terraform/configuration.rb
Instance Attribute Summary collapse
-
#binary ⇒ Object
Returns the value of attribute binary.
-
#download_path ⇒ Object
Returns the value of attribute download_path.
-
#terraform_version ⇒ Object
Returns the value of attribute terraform_version.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(opts = {}) ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 |
# File 'lib/ruby/terraform/configuration.rb', line 8 def initialize(opts = {}) @terraform_version = opts[:terraform_version] @download_path = opts[:download_path] @binary = opts[:terraform_binary] end |
Instance Attribute Details
#binary ⇒ Object
Returns the value of attribute binary.
6 7 8 |
# File 'lib/ruby/terraform/configuration.rb', line 6 def binary @binary end |
#download_path ⇒ Object
Returns the value of attribute download_path.
5 6 7 |
# File 'lib/ruby/terraform/configuration.rb', line 5 def download_path @download_path end |
#terraform_version ⇒ Object
Returns the value of attribute terraform_version.
4 5 6 |
# File 'lib/ruby/terraform/configuration.rb', line 4 def terraform_version @terraform_version end |