Class: Clouddns::Zone

Inherits:
Object
  • Object
show all
Defined in:
lib/clouddns/zone.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Zone

Returns a new instance of Zone.



5
6
7
8
# File 'lib/clouddns/zone.rb', line 5

def initialize name
  @name = name
  @records = []
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/clouddns/zone.rb', line 4

def name
  @name
end

#recordsObject

Returns the value of attribute records.



4
5
6
# File 'lib/clouddns/zone.rb', line 4

def records
  @records
end