Class: Splicer::Records::AAAARecord
- Defined in:
- lib/splicer/records/aaaa_record.rb
Instance Attribute Summary collapse
-
#ip ⇒ Object
Returns the value of attribute ip.
Attributes inherited from Record
Instance Method Summary collapse
-
#initialize(name, ip, ttl = 300) ⇒ AAAARecord
constructor
A new instance of AAAARecord.
- #type ⇒ Object
Methods inherited from Record
Constructor Details
#initialize(name, ip, ttl = 300) ⇒ AAAARecord
Returns a new instance of AAAARecord.
10 11 12 13 |
# File 'lib/splicer/records/aaaa_record.rb', line 10 def initialize(name, ip, ttl=300) super(name, ttl) @ip = ip end |
Instance Attribute Details
#ip ⇒ Object
Returns the value of attribute ip.
5 6 7 |
# File 'lib/splicer/records/aaaa_record.rb', line 5 def ip @ip end |
Instance Method Details
#type ⇒ Object
15 16 17 |
# File 'lib/splicer/records/aaaa_record.rb', line 15 def type 'AAAA' end |