NAME

Net::HTTP::Spore::Meta::Method::Spore - declare API method

VERSION

version 0.09

SYNOPSIS

my $api_client = MyAPI->new;

my @methods    = $api_client->meta->get_all_api_methods();

my $method     = $api_client->meta->find_spore_method_by_name('users');

$api_client->meta->remove_spore_method($method);

$api_client->meta->add_spore_method('users', sub {...},
    description => 'this method does...',);

DESCRIPTION

METHODS

get_all_spore_methods

Return a list of net api methods

find_spore_method_by_name

Return a net api method

remove_spore_method

Remove a net api method

add_spore_method

Add a net api method

AUTHORS

  • Franck Cuny <franck.cuny@gmail.com>

  • Ash Berlin <ash@cpan.org>

  • Ahmad Fatoum <athreef@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Linkfluence.

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