NAME

Bot::Backbone::Meta::Class::Bot - Metaclass attached to backbone bots

VERSION

version 0.112320

SYNOPSIS

my $bot = My::Bot->new;

# Introspect services
for my $name ($bot->meta->list_services) {
    my $service = $bot->meta->services->{$name};
    say Dumper($service);
}

# Introspect a dispatcher
say Dumper($bot->meta->dispatcher->{default});

DESCRIPTION

This provides the metaclass features needed for each bot and allow some introspection of the bot's structure.

Warning: The features are not really intended for use outside of this library. As such, the features described here might disappear in a future release.

EXTENDS

Moose::Meta::Class

ATTRIBUTES

services

This is a hash of service configurations.

dispatcher

This is a hash of dispatchers.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Qubling Software LLC.

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