Sha256: 705a14bb1d74042b9a60edc2b09ad4b795c030ac6ce5644571352b90854226fa

Contents?: true

Size: 389 Bytes

Versions: 5

Compression:

Stored size: 389 Bytes

Contents

module Ruby
  module Terraform
    class Configuration
      attr_accessor :terraform_version
      attr_accessor :download_path

      def initialize(opts = {})
        @terraform_version = opts[:terraform_version] || Ruby::Terraform::TERRAFORM_VERSION
        @download_path = opts[:download_path] || File.expand_path("~/.terraform-bin/#{terraform_version}")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rake-terraform-wrapper-0.2.3 lib/ruby/terraform/configuration.rb
rake-terraform-wrapper-0.2.2 lib/ruby/terraform/configuration.rb
rake-terraform-wrapper-0.2.1 lib/ruby/terraform/configuration.rb
rake-terraform-wrapper-0.2.0 lib/ruby/terraform/configuration.rb
rake-terraform-wrapper-0.1.0 lib/ruby/terraform/configuration.rb