Class: Clouddns::Zone
- Inherits:
-
Object
- Object
- Clouddns::Zone
- Defined in:
- lib/clouddns/zone.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#records ⇒ Object
Returns the value of attribute records.
Instance Method Summary collapse
-
#initialize(name) ⇒ Zone
constructor
A new instance of Zone.
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
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/clouddns/zone.rb', line 4 def name @name end |
#records ⇒ Object
Returns the value of attribute records.
4 5 6 |
# File 'lib/clouddns/zone.rb', line 4 def records @records end |