summaryrefslogtreecommitdiffstats
path: root/extensions/Push/lib/LogEntry.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Push/lib/LogEntry.pm')
-rw-r--r--extensions/Push/lib/LogEntry.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/extensions/Push/lib/LogEntry.pm b/extensions/Push/lib/LogEntry.pm
index f4e894b94..2d45b9ee1 100644
--- a/extensions/Push/lib/LogEntry.pm
+++ b/extensions/Push/lib/LogEntry.pm
@@ -48,6 +48,13 @@ use constant LIST_ORDER => 'processed_ts DESC';
# accessors
#
+use Class::XSAccessor {
+ accessors => {
+ id => __PACKAGE__->ID_FIELD,
+ name => __PACKAGE__->NAME_FIELD,
+ },
+};
+
sub message_id { return $_[0]->{'message_id'}; }
sub change_set { return $_[0]->{'change_set'}; }
sub routing_key { return $_[0]->{'routing_key'}; }