From: djfiander Date: Fri, 14 Apr 2006 23:33:11 +0000 (+0000) Subject: Add stub to handle Status Update message X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=49520d1658f9dcf0940f2f5cd08eb8f78850c493;p=working%2FSIPServer.git Add stub to handle Status Update message --- diff --git a/ILS/Item.pm b/ILS/Item.pm index d4f321c..57d91af 100644 --- a/ILS/Item.pm +++ b/ILS/Item.pm @@ -9,13 +9,10 @@ package ILS::Item; use strict; use warnings; -use Exporter; use Sys::Syslog qw(syslog); -our (@ISA, @EXPORT_OK); - -@ISA = qw(Exporter); +use ILS::Transaction; our %item_db = ( 1565921879 => { @@ -65,6 +62,17 @@ sub sip_item_properties { return $self->{sip_item_properties}; } +sub status_update { + my ($self, $props) = @_; + my $status = new ILS::Transaction; + + $self->{sip_item_properties} = $props; + $status->{ok} = 1; + + return $status; +} + + sub id { my $self = shift;