Sha256: 8b41efe8ecbe81f06f1a20e3130ceb775fc70728895c0d47038372539dc6e9b9
Contents?: true
Size: 1.26 KB
Versions: 5
Compression:
Stored size: 1.26 KB
Contents
module Eco module API class Session class Config class S3Storage < Hash def initialize(root:) super(nil) @root = root end def bucket_name=(value) self["bucket_name"] = value end def bucket_name self["bucket_name"] end def prefix=(value) self["prefix"] = value end def prefix self["prefix"] end def access_key_id=(key) self["access_key_id"] = key end def access_key_id self["access_key_id"] end def secret_access_key=(key) self["secret_access_key"] = key end def secret_access_key self["secret_access_key"] end def region=(region) self["region"] = region end def region self["region"] end def target_directories=(value) self["target_directories"] = [value].flatten end def target_directories self["target_directories"] end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems