[Bps-public-commit] r12084 - in RT-Extension-SLA/lib/RT: Action
ruz at bestpractical.com
ruz at bestpractical.com
Mon May 5 20:04:13 EDT 2008
Author: ruz
Date: Mon May 5 20:04:11 2008
New Revision: 12084
Modified:
RT-Extension-SLA/lib/RT/Action/SLA.pm
RT-Extension-SLA/lib/RT/Action/SLA_SetDefault.pm
RT-Extension-SLA/lib/RT/Extension/SLA.pm
Log:
* POD fixes
Modified: RT-Extension-SLA/lib/RT/Action/SLA.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Action/SLA.pm (original)
+++ RT-Extension-SLA/lib/RT/Action/SLA.pm Mon May 5 20:04:11 2008
@@ -6,6 +6,24 @@
use base qw(RT::Extension::SLA RT::Action::Generic);
+=head1 NAME
+
+RT::Action::SLA - base class for all actions in the extension
+
+=head1 DESCRIPTION
+
+It's not a real action, but container for subclassing which provide
+help methods for other actions.
+
+=head1 METHODS
+
+=head2 SetDateField NAME VALUE
+
+Sets specified ticket's date field to the value, doesn't update
+if field is set already. VALUE is unix time.
+
+=cut
+
sub SetDateField {
my $self = shift;
my ($type, $value) = (@_);
Modified: RT-Extension-SLA/lib/RT/Action/SLA_SetDefault.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Action/SLA_SetDefault.pm (original)
+++ RT-Extension-SLA/lib/RT/Action/SLA_SetDefault.pm Mon May 5 20:04:11 2008
@@ -8,7 +8,7 @@
=head1 NAME
-RT::Action::SLA::SetDefault - set default SLA value
+RT::Action::SLA_SetDefault - set default SLA value
=head1 DESCRIPTION
Modified: RT-Extension-SLA/lib/RT/Extension/SLA.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Extension/SLA.pm (original)
+++ RT-Extension-SLA/lib/RT/Extension/SLA.pm Mon May 5 20:04:11 2008
@@ -48,7 +48,7 @@
L<Resolve|/"Resolve and Response (interval, no defaults)">,
L<Response|/"Resolve and Response (interval, no defaults)">,
L<OutOfHours|/"OutOfHours (struct, no default)">
-and L</BusinessHours>.
+and L<ServiceBusinessHours|/"Configuring business hours">.
=head2 StartImmediately (boolean, false)
@@ -64,6 +64,7 @@
StartImmediately to true value.
Example:
+
'24/7' => {
StartImmediately => 1,
Response => { RealMinutes => 30 },
@@ -89,13 +90,13 @@
quite simple and straightforward when used without L</Response>.
Example:
+
# 8 business hours
'simple' => { Resolve => 60*8 },
...
# one real week
'hard' => { Resolve => { RealMinutes => 60*24*7 } },
-
=head3 Response
In many companies providing support service(s) resolve time
@@ -249,7 +250,8 @@
=head2 Defining service levels per queue
-In the config you can set per queue defaults, using
+In the config you can set per queue defaults, using:
+
%RT::ServiceAgreements = (
Default => 'global default level of service',
QueueDefault => {
More information about the Bps-public-commit
mailing list