Module: DLDInternet::OpenSRS::API::Domain::MixIns::Zone::GetDNSZone
- Included in:
- Zone
- Defined in:
- lib/dldinternet/opensrs/api/domain/mixins/zone/getdnszone.rb
Instance Method Summary collapse
-
#GetDomainDNSZone(domain, cookiep = nil, registrant_ip = nil) ⇒ Object
noinspection RubyUnnecessaryReturnValue.
Instance Method Details
#GetDomainDNSZone(domain, cookiep = nil, registrant_ip = nil) ⇒ Object
noinspection RubyUnnecessaryReturnValue
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/dldinternet/opensrs/api/domain/mixins/zone/getdnszone.rb', line 12 def GetDomainDNSZone(domain,=nil,registrant_ip=nil) data = { object: 'DOMAIN', action: 'get_dns_zone', attributes: { domain: domain, }, } data[:cookie] = if data[:domain] = domain data[:registrant_ip] = registrant_ip if registrant_ip getResponse(data) end |