class Deadpull::Values::S3Locations
Public Instance Methods
concretize()
click to toggle source
# File lib/deadpull/values/s3_locations.rb, line 11 def concretize OpenStruct.new(bucket: bucket, prefix: prefix) end
Private Instance Methods
bucket()
click to toggle source
# File lib/deadpull/values/s3_locations.rb, line 17 def bucket @bucket ||= config[:path].split('/')[0] end
prefix()
click to toggle source
# File lib/deadpull/values/s3_locations.rb, line 21 def prefix @prefix ||= (config[:path].split('/')[1..-1] + [environment]).reject(&:blank?).join('/') end