[Jifty-commit] r7044 - jifty/branches/webservices-in-td/lib/Jifty/Web

Jifty commits jifty-commit at lists.jifty.org
Sat May 16 23:53:47 EDT 2009


Author: ruz
Date: Sat May 16 23:53:45 2009
New Revision: 7044

Modified:
   jifty/branches/webservices-in-td/lib/Jifty/Web/Services.pm

Log:
* add simple constructor

Modified: jifty/branches/webservices-in-td/lib/Jifty/Web/Services.pm
==============================================================================
--- jifty/branches/webservices-in-td/lib/Jifty/Web/Services.pm	(original)
+++ jifty/branches/webservices-in-td/lib/Jifty/Web/Services.pm	Sat May 16 23:53:45 2009
@@ -10,6 +10,11 @@
 use Jifty::JSON;
 use Jifty::YAML;
 
+sub new {
+    my $proto = shift;
+    return bless {}, ref($proto)||$proto;
+}
+
 sub _results {
     my $self = shift;
 


More information about the Jifty-commit mailing list