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 28
def all
  load service.list_domains
end
destroy(id) click to toggle source
# File lib/fog/proxmox/identity/models/domains.rb, line 36
def destroy(id)
  domain = get(id)
  domain.destroy
end
get(id) click to toggle source
# File lib/fog/proxmox/identity/models/domains.rb, line 32
def get(id)
  all.find { |domain| domain.identity === id }
end