Sha256: c8bec8e60352408e0dabb34db7345a776a07457445d6f20ab5240b499b45ae6c
Contents?: true
Size: 506 Bytes
Versions: 5
Compression:
Stored size: 506 Bytes
Contents
module Fog module Storage class OracleCloud class Containers < Fog::Collection model Fog::Storage::OracleCloud::Container def all containers = service.list_containers().body load(containers) 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