NAME

Regru::API::Role::Namespace - something that can treat as a namespace

VERSION

version 0.052

SYNOPSIS

package Regru::API::Dummy;
...
with 'Regru::API::Role::Namespace';

sub available_methods { [qw(foo bar baz)] }

DESCRIPTION

Any class or role that consumes this one will considered as a namespace (or category) in REG.API v2.

REQUIREMENTS

available_methods

A list of methods (as array reference) provides by namespace. An empty array reference should be used in case of namespace does not provide any methods. But this so odd...

SEE ALSO

Regru::API

Regru::API::Role::Client

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/regru/regru-api-perl/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHORS

  • Polina Shubina <shubina@reg.ru>

  • Anton Gerasimov <a.gerasimov@reg.ru>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by REG.RU 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.