Class: Latte::Response
Instance Method Summary collapse
Instance Method Details
#add_answer(record) ⇒ Object
5 6 7 8 |
# File 'lib/latte/response.rb', line 5 def add_answer record rr = parse_rr_string record packet.answer << rr end |
#data ⇒ Object
10 11 12 |
# File 'lib/latte/response.rb', line 10 def data packet.data end |
#to_s ⇒ Object
14 15 16 |
# File 'lib/latte/response.rb', line 14 def to_s packet.to_s end |