diff options
Diffstat (limited to 'Bugzilla/Whine/Schedule.pm')
-rw-r--r-- | Bugzilla/Whine/Schedule.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Whine/Schedule.pm b/Bugzilla/Whine/Schedule.pm index 017b744e5..725920cd7 100644 --- a/Bugzilla/Whine/Schedule.pm +++ b/Bugzilla/Whine/Schedule.pm @@ -45,6 +45,13 @@ use constant LIST_ORDER => 'id'; #################### # Simple Accessors # #################### +use Class::XSAccessor { + accessors => { + id => __PACKAGE__->ID_FIELD, + name => __PACKAGE__->NAME_FIELD, + }, +}; + sub eventid { return $_[0]->{'eventid'}; } sub run_day { return $_[0]->{'run_day'}; } sub run_time { return $_[0]->{'run_time'}; } |