package MojoX::JSON::RPC::Service::AutoRegister;
use Mojo::Base 'MojoX::JSON::RPC::Service';
our $VERSION = 0.001;
=head1 NAME
MojoX::JSON::RPC::Service::AutoRegister - Base class for RPC Services
_self'=1> options by default.
For more information on how services work, have a look at
L<MojoX::JSON::RPC::Service>.
Every function that starts with C<rpc_> it's automatically registered as an
rpc
functions to being automatically registered.
=head1 METHODS
Inherits all methods from L<MojoX::JSON::RPC::Service> and adds the following new ones:
=head2 register_rpc
witouth arguments, register