[Bps-public-commit] r14688 - in sd: trunk/lib/App/SD/Model
spang at bestpractical.com
spang at bestpractical.com
Thu Jul 31 07:48:13 EDT 2008
Author: spang
Date: Thu Jul 31 07:48:12 2008
New Revision: 14688
Modified:
sd/ (props changed)
sd/trunk/lib/App/SD/Model/Ticket.pm
Log:
r47460 at loki: spang | 2008-07-31 12:12:10 +0100
increase pod coverage
Modified: sd/trunk/lib/App/SD/Model/Ticket.pm
==============================================================================
--- sd/trunk/lib/App/SD/Model/Ticket.pm (original)
+++ sd/trunk/lib/App/SD/Model/Ticket.pm Thu Jul 31 07:48:12 2008
@@ -7,6 +7,12 @@
use constant collection_class => 'App::SD::Collection::Ticket';
use constant type => 'ticket';
+=head2 default_prop_status
+
+The default value of the status prop. Returns a string.
+
+=cut
+
sub default_prop_status { 'new' }
sub _default_summary_format { '%s,$luid | %s,summary | %s,status' }
@@ -45,6 +51,13 @@
return $due;
}
+=head2 props_to_show
+
+A list of which properties to display for the C<show> command (in order
+from first to last).
+
+=cut
+
sub props_to_show {
('id', 'summary', 'status', 'owner', 'created', 'due', 'creator', 'reported_by', 'CF-Broken in', 'CF-Severity')
}
More information about the Bps-public-commit
mailing list