Class: Ruby::Terraform::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby/terraform/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#binaryObject

Returns the value of attribute binary.



6
7
8
# File 'lib/ruby/terraform/configuration.rb', line 6

def binary
  @binary
end

#download_pathObject

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_versionObject

Returns the value of attribute terraform_version.



4
5
6
# File 'lib/ruby/terraform/configuration.rb', line 4

def terraform_version
  @terraform_version
end