class Fog::OpenStack::KeyManager::Containers

Public Instance Methods

all(options = {}) click to toggle source
# File lib/fog/openstack/key_manager/models/containers.rb, line 10
def all(options = {})
  load_response(service.list_containers(options), 'containers')
end
get(secret_ref) click to toggle source
# File lib/fog/openstack/key_manager/models/containers.rb, line 14
def get(secret_ref)
  if secret = service.get_container(secret_ref).body
    new(secret)
  end
rescue Fog::OpenStack::Compute::NotFound
  nil
end