Class: DLDInternet::DOctl::API::Compute::Domain::Get

Inherits:
Base
  • Object
show all
Defined in:
lib/dldinternet/doctl/api/compute/domain/get.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

#GetDomain(domain) ⇒ Object

noinspection RubyUnnecessaryReturnValue



11
12
13
# File 'lib/dldinternet/doctl/api/compute/domain/get.rb', line 11

def GetDomain(domain)
  client.domains.find(name: domain)
end