Sha256: 0a51e33da9afa7174835a5a697c92aa212a2c301b53555165679b963b495d5b0
Contents?: true
Size: 485 Bytes
Versions: 15
Compression:
Stored size: 485 Bytes
Contents
module Lono::Template::Strategy::Dsl::Builder::Helpers module S3Helper def s3_bucket Lono::S3::Bucket.name end alias_method :lono_bucket_name, :s3_bucket def s3_key(name, options={}) default = {type: "file"} options.reverse_merge!(default) Lono::AppFile::Registry.register(name, @blueprint, options) "file://app/files/#{options[:type]}/#{name}" # placeholder for post processing end alias_method :file_s3_key, :s3_key end end
Version data entries
15 entries across 15 versions & 1 rubygems