[Bps-public-commit] r15275 - in sd/trunk: . lib/App/SD/CLI/Command/Attachment

sartak at bestpractical.com sartak at bestpractical.com
Wed Aug 20 05:16:48 EDT 2008


Author: sartak
Date: Wed Aug 20 05:15:56 2008
New Revision: 15275

Modified:
   sd/trunk/   (props changed)
   sd/trunk/lib/App/SD/CLI/Command/Attachment/Content.pm
   sd/trunk/lib/App/SD/CLI/Command/Ticket/Comments.pm
   sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm

Log:
 r69845 at onn:  sartak | 2008-08-20 05:15:40 -0400
 Rename _get_record_class to _get_record_object


Modified: sd/trunk/lib/App/SD/CLI/Command/Attachment/Content.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Attachment/Content.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command/Attachment/Content.pm	Wed Aug 20 05:15:56 2008
@@ -6,7 +6,7 @@
 
 sub run {
     my $self = shift;
-    my $record =  $self->_get_record_class;
+    my $record =  $self->_get_record_object;
     $record->load(uuid => $self->cli->uuid);
     print $record->prop('content');
 }

Modified: sd/trunk/lib/App/SD/CLI/Command/Ticket/Comments.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Ticket/Comments.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command/Ticket/Comments.pm	Wed Aug 20 05:15:56 2008
@@ -6,7 +6,7 @@
 
 sub run {
     my $self = shift;
-    my $record = $self->_get_record_class();
+    my $record = $self->_get_record_object;
 
     $self->require_uuid;
     $record->load( uuid => $self->uuid );

Modified: sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm	Wed Aug 20 05:15:56 2008
@@ -9,7 +9,7 @@
 # props are specified on the commandline
 override run => sub {
     my $self = shift;
-    my $record = $self->_get_record_class;
+    my $record = $self->_get_record_object;
     my @prop_set = $self->prop_set;
 
     # only invoke editor if no props specified on the commandline or edit arg



More information about the Bps-public-commit mailing list