Sha256: 74e0107d778d0b3dde4689c09a1287445743d5dc2c55393a4607390e09cc21c4
Contents?: true
Size: 579 Bytes
Versions: 5
Compression:
Stored size: 579 Bytes
Contents
module Fog module Storage class OracleCloud class Objects < Fog::Collection attribute :container model Fog::Storage::OracleCloud::Object def all requires :container objects = service.get_container_with_objects(container.name) load(objects.body) end def get(name) data = service.get_container(name).headers # The storage cloud service doesn't actually return the name. Add it back in data['name'] = name new(data) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems