class Fog::Proxmox::Identity::Domains

class Domains collection authentication

Public Instance Methods

all() click to toggle source
# File lib/fog/proxmox/identity/models/domains.rb, line 29
def all
  load service.list_domains
end
destroy(id) click to toggle source
# File lib/fog/proxmox/identity/models/domains.rb, line 37
def destroy(id)
  domain = get(id)
  domain.destroy
end
get(id) click to toggle source
# File lib/fog/proxmox/identity/models/domains.rb, line 33
def get(id)
  all.find { |domain| domain.identity == id }
end