Class: Dnsimple::Struct::Tld

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/tld.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

#auto_renew_onlyBoolean

Returns True if TLD requires use of auto-renewal for renewals.

Returns:

  • (Boolean)

    True if TLD requires use of auto-renewal for renewals.


17
18
19
# File 'lib/dnsimple/struct/tld.rb', line 17

def auto_renew_only
  @auto_renew_only
end

#idnBoolean

Returns True if IDN is available.

Returns:

  • (Boolean)

    True if IDN is available.


20
21
22
# File 'lib/dnsimple/struct/tld.rb', line 20

def idn
  @idn
end

#minimum_registrationInteger

Returns The minimum registration period, in years.

Returns:

  • (Integer)

    The minimum registration period, in years.


23
24
25
# File 'lib/dnsimple/struct/tld.rb', line 23

def minimum_registration
  @minimum_registration
end

#registration_enabledBoolean

Returns True if DNSimple supports registrations for this TLD.

Returns:

  • (Boolean)

    True if DNSimple supports registrations for this TLD.


26
27
28
# File 'lib/dnsimple/struct/tld.rb', line 26

def registration_enabled
  @registration_enabled
end

#renewal_enabledBoolean

Returns True if DNSimple supports renewals for this TLD.

Returns:

  • (Boolean)

    True if DNSimple supports renewals for this TLD.


29
30
31
# File 'lib/dnsimple/struct/tld.rb', line 29

def renewal_enabled
  @renewal_enabled
end

#tldString

Returns The TLD in DNSimple.

Returns:

  • (String)

    The TLD in DNSimple.


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

def tld
  @tld
end

#tld_typeInteger

Returns The TLD type.

Returns:

  • (Integer)

    The TLD type.


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

def tld_type
  @tld_type
end

#transfer_enabledBoolean

Returns True if DNSimple supports inbound transfers for this TLD.

Returns:

  • (Boolean)

    True if DNSimple supports inbound transfers for this TLD.


32
33
34
# File 'lib/dnsimple/struct/tld.rb', line 32

def transfer_enabled
  @transfer_enabled
end

#whois_privacyBoolean

Returns True if Whois Privacy Protection is available.

Returns:

  • (Boolean)

    True if Whois Privacy Protection is available.


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

def whois_privacy
  @whois_privacy
end