Class: Dnsimple::Struct::Zone
Instance Attribute Summary collapse
-
#account_id ⇒ Integer
The associated account ID.
-
#active ⇒ Boolean
True if DNS services are active for the zone.
-
#created_at ⇒ String
When the zone was created in DNSimple.
-
#id ⇒ Integer
The zone ID in DNSimple.
-
#last_transferred_at ⇒ String
When the zone was last transferred from another provider.
-
#name ⇒ String
The zone name.
-
#reverse ⇒ Boolean
True if the zone is a reverse zone.
-
#secondary ⇒ Boolean
True if the zone is a secondary zone.
-
#updated_at ⇒ String
When the zone was last updated in DNSimple.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#account_id ⇒ Integer
Returns The associated account ID.
11 12 13 |
# File 'lib/dnsimple/struct/zone.rb', line 11 def account_id @account_id end |
#active ⇒ Boolean
Returns True if DNS services are active for the zone. False when DNS services are disabled and DNS records will not be resolved.
26 27 28 |
# File 'lib/dnsimple/struct/zone.rb', line 26 def active @active end |
#created_at ⇒ String
Returns When the zone was created in DNSimple.
29 30 31 |
# File 'lib/dnsimple/struct/zone.rb', line 29 def created_at @created_at end |
#id ⇒ Integer
Returns The zone ID in DNSimple.
8 9 10 |
# File 'lib/dnsimple/struct/zone.rb', line 8 def id @id end |
#last_transferred_at ⇒ String
Returns When the zone was last transferred from another provider.
23 24 25 |
# File 'lib/dnsimple/struct/zone.rb', line 23 def last_transferred_at @last_transferred_at end |
#name ⇒ String
Returns The zone name.
14 15 16 |
# File 'lib/dnsimple/struct/zone.rb', line 14 def name @name end |
#reverse ⇒ Boolean
Returns True if the zone is a reverse zone.
17 18 19 |
# File 'lib/dnsimple/struct/zone.rb', line 17 def reverse @reverse end |
#secondary ⇒ Boolean
Returns True if the zone is a secondary zone.
20 21 22 |
# File 'lib/dnsimple/struct/zone.rb', line 20 def secondary @secondary end |
#updated_at ⇒ String
Returns When the zone was last updated in DNSimple.
32 33 34 |
# File 'lib/dnsimple/struct/zone.rb', line 32 def updated_at @updated_at end |