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.
10 11 12 |
# File 'lib/dnsimple/struct/zone.rb', line 10 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.
25 26 27 |
# File 'lib/dnsimple/struct/zone.rb', line 25 def active @active end |
#created_at ⇒ String
Returns When the zone was created in DNSimple.
28 29 30 |
# File 'lib/dnsimple/struct/zone.rb', line 28 def created_at @created_at end |
#id ⇒ Integer
Returns The zone ID in DNSimple.
7 8 9 |
# File 'lib/dnsimple/struct/zone.rb', line 7 def id @id end |
#last_transferred_at ⇒ String
Returns 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 |
#name ⇒ String
Returns The zone name.
13 14 15 |
# File 'lib/dnsimple/struct/zone.rb', line 13 def name @name end |
#reverse ⇒ Boolean
Returns True if the zone is a reverse zone.
16 17 18 |
# File 'lib/dnsimple/struct/zone.rb', line 16 def reverse @reverse end |
#secondary ⇒ Boolean
Returns True if the zone is a secondary zone.
19 20 21 |
# File 'lib/dnsimple/struct/zone.rb', line 19 def secondary @secondary end |
#updated_at ⇒ String
Returns 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 |