Sha256: 4f151ea4158372027d18ff621d542b54aae703ea20f20b7d5a4453c2d7c0ae19

Contents?: true

Size: 564 Bytes

Versions: 10

Compression:

Stored size: 564 Bytes

Contents

require "base64"

module TerraspacePluginAws::Interfaces::Helper
  class SecretBase
    include TerraspacePluginAws::Clients
    include TerraspacePluginAws::Logging
    extend Memoist

    def initialize(mod, options={})
      @mod = mod
      @options = options
      @base64 = options[:base64]
    end

  private
    delegate :expansion, to: :expander
    def expander
      TerraspacePluginAws::Interfaces::Expander.new(@mod)
    end
    memoize :expander

    def expand?
      !(@options[:expansion] == false || @options[:expand] == false)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
terraspace_plugin_aws-0.6.1 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.6.0 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.5.1 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.5.0 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.4.2 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.4.1 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.4.0 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.3.8 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.3.7 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb
terraspace_plugin_aws-0.3.6 lib/terraspace_plugin_aws/interfaces/helper/secret_base.rb