NAME

Catalyst::Helper::Model::JabberRPC - Helper for JabberRPC models

SYNOPSIS

script/myapp_create.pl model RemoteService JabberRPC myserver.org user:password jrpc.myserver.org/rpc-server

DESCRIPTION

Helper for the Catalyst JabberRPC model.

USAGE

When creating a new JabberRPC model class using this helper, you can specify much of the configuration and have it filled automatically. Using the example from the "SYNOPSIS" section:

  • RemoteService

    The name of the model. This is also used to determine the filename, e.g. lib/MyApp/Model/RemoteService.pm.

  • JabberRPC

    The helper to use, i.e. this one.

  • myserver.org

    The same as the server arg. passed to Jabber::RPC::Client.

  • user:password

    The same as the identauth arg. passed to Jabber::RPC::Client.

  • jrpc.myserver.org/rpc-server

    The same as the endpoint arg. passed to Jabber::RPC::Client.

METHODS

mk_compclass

Makes the JabberRPC model class.

mk_comptest

Makes tests for the JabberRPC model.

SEE ALSO

AUTHOR

Florian Merges <fmerges@cpan.org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.