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:

  • (Boolean)

    Whether the domain name is available.


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

def available
  @available
end

#domainString

Returns The domain name that was checked.

Returns:

  • (String)

    The domain name that was checked.


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

def domain
  @domain
end

#premiumBoolean

Returns Whether the domain name is premium.

Returns:

  • (Boolean)

    Whether the domain name is premium.


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

def premium
  @premium
end