Group
Extension

Matches 1

Rest-Client-Builder ( A/AL/ALEXKOM/Rest-Client-Builder-0.03.tar.gz, ALEXKOM, 2014; MetaCPAN )
Rest-Client-Builder/lib/Rest/Client/Builder.pm ( view source; MetaCPAN )
nted REST clients

=head1 SYNOPSIS

	package Your::API;
	use base qw(Rest::Client::Builder);
	use JSON;

	sub new {
		my ($class) = @_;

		my $self;
		$self = $class->SUPER::new({
			on_request => sub
{
		my ($self, $method, $path, $args) = @_;
		return sprintf("%s %s %s\n", $method, $path, encode_json($args));
	}

	my $api = Your::API->new();
	print $api->resource->get({ value => 1 });
	# output: 
ide any methods of any API object:

	package Your::API;
	use base qw(Rest::Client::Builder);
	use JSON;

	sub new {
		my ($class) = @_;

		my $self;
		$self = $class->SUPER::new({
			on_request => sub

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.