Class: DJB::TinyDNS::TXT
Overview
fqdn, s, ttl, timestamp
Constant Summary collapse
- Sigil =
'\''
- TypeValue =
16
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Attributes inherited from Resource
Instance Method Summary collapse
-
#initialize(args) ⇒ TXT
constructor
A new instance of TXT.
Methods inherited from Resource
Constructor Details
#initialize(args) ⇒ TXT
Returns a new instance of TXT.
300 301 302 303 304 305 306 307 308 309 |
# File 'lib/djb/tinydns.rb', line 300 def initialize(args) super(args) @data = @args['data'] @fields << @fqdn @fields << encode @fields << @ttl @fields << @timestamp end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
298 299 300 |
# File 'lib/djb/tinydns.rb', line 298 def data @data end |