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_idFixnum

Returns The associated account ID.

Returns:

  • (Fixnum)

    The associated account ID.



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

def 
  @account_id
end

#created_atString

Returns When the zone was created in DNSimple.

Returns:

  • (String)

    When the zone was created in DNSimple.



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

def created_at
  @created_at
end

#idFixnum

Returns The zone ID in DNSimple.

Returns:

  • (Fixnum)

    The zone ID in DNSimple.



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

def id
  @id
end

#nameString

Returns The zone name.

Returns:

  • (String)

    The zone name.



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

def name
  @name
end

#reverseBoolean

Returns True if the zone is a reverse zone.

Returns:

  • (Boolean)

    True if the zone is a reverse zone.



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

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.



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

def updated_at
  @updated_at
end