class Fog::OpenStack::ContainerInfra::Bays
Public Instance Methods
Source
# File lib/fog/openstack/container_infra/models/bays.rb, line 10 def all load_response(service.list_bays, "bays") end
Source
# File lib/fog/openstack/container_infra/models/bays.rb, line 14 def get(bay_uuid_or_name) resource = service.get_bay(bay_uuid_or_name).body new(resource) rescue Fog::OpenStack::ContainerInfra::NotFound nil end