Catalyst-Model-JabberRPC
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Catalyst/Helper/Model/JabberRPC.pm view on Meta::CPAN
=item * C<myserver.org>
The same as the B<server> arg. passed to L<Jabber::RPC::Client>.
=item * C<user:password>
The same as the B<identauth> arg. passed to L<Jabber::RPC::Client>.
=item * C<jrpc.myserver.org/rpc-server>
The same as the B<endpoint> arg. passed to L<Jabber::RPC::Client>.
=back
=head1 METHODS
=head2 mk_compclass
Makes the JabberRPC model class.
=cut
sub mk_compclass {
my ($self, $helper, $server, $identauth, $endpoint) = @_;
$helper->{server} = $server || '';
$helper->{identauth} = $identauth || '';
$helper->{endpoint} = $endpoint || '';
$helper->render_file('modelclass', $helper->{file});
return 1;
}
=head2 mk_comptest
Makes tests for the JabberRPC model.
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.049 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )