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