| 1 | package DBGp::Client::Response::ContextGet; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | use parent qw(DBGp::Client::Response::Simple); | ||
| 6 | |||
| 7 | use DBGp::Client::Response::Property; | ||
| 8 | |||
| 9 | __PACKAGE__->make_attrib_accessors(qw( | ||
| 10 | transaction_id command context_id | ||
| 11 | )); | ||
| 12 | |||
| 13 | sub values { | ||
| 14 | return [map +(bless $_, 'DBGp::Client::Response::Property'), | ||
| 15 | DBGp::Client::Parser::_nodes($_[0], 'property')]; | ||
| 16 | } | ||
| 17 | |||
| 18 | 1; |