Sha256: b9734b200418a76deed70f1932961de6f41f70966a8229cc1ab7c46edd127cfe
Contents?: true
Size: 606 Bytes
Versions: 12
Compression:
Stored size: 606 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
12 entries across 12 versions & 1 rubygems