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

Jifty commits jifty-commit at lists.jifty.org
Tue May 12 20:42:08 EDT 2009


Author: ruz
Date: Tue May 12 20:42:07 2009
New Revision: 7020

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

Log:
* add services method in Jifty::Web

Modified: jifty/branches/webservices-in-td/lib/Jifty/Web.pm
==============================================================================
--- jifty/branches/webservices-in-td/lib/Jifty/Web.pm	(original)
+++ jifty/branches/webservices-in-td/lib/Jifty/Web.pm	Tue May 12 20:42:07 2009
@@ -1319,7 +1319,6 @@
     $region->render;
 }
 
-
 =head3 replace_current_region PATH
 
 Replaces the current region with a new region and renders it Returns undef if there's no current region
@@ -1384,6 +1383,17 @@
             @region_stack, @_;
 }
 
+=head3 services
+
+Returns L<Jifty::Web::Services> object.
+
+=cut
+
+sub services {
+    require Jifty::Web::Services;
+    return new Jifty::Web::Services;
+}
+
 =head2 is_ssl
 
 Indicates whether the current request was made using SSL.


More information about the Jifty-commit mailing list