Class: Dnsimple::Struct::Zone

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

#account_idInteger

Returns The associated account ID.

Returns:

  • (Integer)

    The associated account ID.



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

def 
  @account_id
end

#activeBoolean

Returns True if DNS services are active for the zone. False when DNS services are disabled and DNS records will not be resolved.

Returns:

  • (Boolean)

    True if DNS services are active for the zone. False when DNS services are disabled and DNS records will not be resolved



25
26
27
# File 'lib/dnsimple/struct/zone.rb', line 25

def active
  @active
end

#created_atString

Returns When the zone was created in DNSimple.

Returns:

  • (String)

    When the zone was created in DNSimple.



28
29
30
# File 'lib/dnsimple/struct/zone.rb', line 28

def created_at
  @created_at
end

#idInteger

Returns The zone ID in DNSimple.

Returns:

  • (Integer)

    The zone ID in DNSimple.



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

def id
  @id
end

#last_transferred_atString

Returns When the zone was last transferred from another provider.

Returns:

  • (String)

    When the zone was last transferred from another provider.



22
23
24
# File 'lib/dnsimple/struct/zone.rb', line 22

def last_transferred_at
  @last_transferred_at
end

#nameString

Returns The zone name.

Returns:

  • (String)

    The zone name.



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

def name
  @name
end

#reverseBoolean

Returns True if the zone is a reverse zone.

Returns:

  • (Boolean)

    True if the zone is a reverse zone.



16
17
18
# File 'lib/dnsimple/struct/zone.rb', line 16

def reverse
  @reverse
end

#secondaryBoolean

Returns True if the zone is a secondary zone.

Returns:

  • (Boolean)

    True if the zone is a secondary zone.



19
20
21
# File 'lib/dnsimple/struct/zone.rb', line 19

def secondary
  @secondary
end

#updated_atString

Returns When the zone was last updated in DNSimple.

Returns:

  • (String)

    When the zone was last updated in DNSimple.



31
32
33
# File 'lib/dnsimple/struct/zone.rb', line 31

def updated_at
  @updated_at
end