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.



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

def 
  @account_id
end

#created_atString

Returns When the zone was created in DNSimple.

Returns:

  • (String)

    When the zone was created in DNSimple.



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

def created_at
  @created_at
end

#idInteger

Returns The zone ID in DNSimple.

Returns:

  • (Integer)

    The zone ID in DNSimple.



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

def id
  @id
end

#nameString

Returns The zone name.

Returns:

  • (String)

    The zone name.



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

def name
  @name
end

#reverseBoolean

Returns True if the zone is a reverse zone.

Returns:

  • (Boolean)

    True if the zone is a reverse zone.



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

def reverse
  @reverse
end

#updated_atString

Returns When the zone was last updated in DNSimple.

Returns:

  • (String)

    When the zone was last updated in DNSimple.



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

def updated_at
  @updated_at
end