From 3aee937a96e2ca2afc2c37fbf69274a08d5f8293 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 18 Feb 2011 11:51:54 -0600 Subject: get a model class going --- lib/Narwhal/Component/Role/Wiki.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/Narwhal/Component/Role/Wiki.pm') diff --git a/lib/Narwhal/Component/Role/Wiki.pm b/lib/Narwhal/Component/Role/Wiki.pm index a48cf9b..e7d7c36 100644 --- a/lib/Narwhal/Component/Role/Wiki.pm +++ b/lib/Narwhal/Component/Role/Wiki.pm @@ -4,7 +4,14 @@ use Moose::Role; has kioku => ( isa => 'KiokuX::Model', required => 1, - handles => 'KiokuDB::Role::API', + handles => [ + 'get_user', + 'get_page', + 'get_page_rev', + 'create_page_rev', + 'new_scope', + 'txn_do', + ], ); has tt => ( -- cgit v1.2.3-54-g00ecf