Class: Dnsimple::Struct::DomainCheck

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/domain_check.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#availableBoolean

Returns Whether the domain name is available.

Returns:

  • Whether the domain name is available.



10
11
12
# File 'lib/dnsimple/struct/domain_check.rb', line 10

def available
  @available
end

#domainString

Returns The domain name that was checked.

Returns:

  • The domain name that was checked.



7
8
9
# File 'lib/dnsimple/struct/domain_check.rb', line 7

def domain
  @domain
end

#premiumBoolean

Returns Whether the domain name is premium.

Returns:

  • Whether the domain name is premium.



13
14
15
# File 'lib/dnsimple/struct/domain_check.rb', line 13

def premium
  @premium
end