class Fog::Storage::OracleCloud::Containers
Public Instance Methods
all()
click to toggle source
# File lib/fog/oraclecloud/models/storage/containers.rb, line 8 def all containers = service.list_containers().body load(containers) end
get(name)
click to toggle source
# File lib/fog/oraclecloud/models/storage/containers.rb, line 13 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