Class: RubyHome::TextRecord

Inherits:
DNSSD::TextRecord
  • Object
show all
Defined in:
lib/ruby_home/dns/text_record.rb

Instance Method Summary collapse

Constructor Details

#initialize(accessory_info:) ⇒ TextRecord

Returns a new instance of TextRecord.



3
4
5
6
# File 'lib/ruby_home/dns/text_record.rb', line 3

def initialize(accessory_info:)
  @accessory_info = accessory_info
  super(to_hash)
end