Class: DLDInternet::DOctl::API::Compute::Domain::List

Inherits:
Base
  • Object
show all
Defined in:
lib/dldinternet/doctl/api/compute/domain/list.rb

Instance Attribute Summary

Attributes inherited from Base

#client, #logger, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from DLDInternet::DOctl::API::Base

Instance Method Details

#GetDomainListObject

noinspection RubyUnnecessaryReturnValue



11
12
13
14
15
16
17
# File 'lib/dldinternet/doctl/api/compute/domain/list.rb', line 11

def GetDomainList()
  list = []
  client.domains.all().each do |page|
    list << page
  end
  list
end