class Fog::OpenStack::KeyManager::Container

Public Instance Methods

create() click to toggle source
# File lib/fog/openstack/key_manager/models/container.rb, line 29
def create
  merge_attributes(service.create_container(attributes).body)
  self
end
destroy() click to toggle source
# File lib/fog/openstack/key_manager/models/container.rb, line 34
def destroy
  requires :container_ref
  service.delete_container(uuid)
  true
end
uuid() click to toggle source
# File lib/fog/openstack/key_manager/models/container.rb, line 23
def uuid
  URI(self.container_ref).path.split('/').last
rescue
  nil
end