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