Sha256: 864517d0074616e6ab9a55cf85b031d1e1e2941805992265978c7d505e10c297

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

class Terraspace::Cloud::Folder
  class Base < Terraspace::Cloud::Base
    def initialize(options={})
      super
      @type = options[:type]
    end

    # final zip dest
    def zip_path
      "#{artifacts_path}.zip"
    end

    def artifacts_path
      "#{@mod.cache_dir}/.terraspace-cache/_cache2/artifacts/#{@type}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
terraspace-2.0.2 lib/terraspace/cloud/folder/base.rb
terraspace-2.0.1 lib/terraspace/cloud/folder/base.rb
terraspace-2.0.0 lib/terraspace/cloud/folder/base.rb