# File lib/fog/hp/models/dns/domains.rb, line 10 def all load(service.list_domains.body['domains']) end
# File lib/fog/hp/models/dns/domains.rb, line 14 def get(domain_id) ### Inconsistent API - does not return a 'domain' if domain = service.get_domain(domain_id).body new(domain) end rescue Fog::HP::DNS::NotFound nil end