Net-Launchpad

 view release on metacpan or  search on metacpan

lib/Net/Launchpad/Model/Query/Person.pm  view on Meta::CPAN

package Net::Launchpad::Model::Query::Person;
BEGIN {
  $Net::Launchpad::Model::Query::Person::AUTHORITY = 'cpan:ADAMJS';
}
$Net::Launchpad::Model::Query::Person::VERSION = '2.101';
# ABSTRACT: Person/people query model


use Moose;
use Function::Parameters;
use namespace::autoclean;

extends 'Net::Launchpad::Model::Base';

has '+ns' => (is => 'ro', default => 'people');

__PACKAGE__->meta->make_immutable;

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Net::Launchpad::Model::Query::Person - Person/people query model

=head1 VERSION

version 2.101

=head1 SYNOPSIS

    use Net::Launchpad::Client;
    use Net::Launchpad::Query;
    my $c = Net::Launchpad::Client->new(
        consumer_key        => 'key',
        access_token        => '3243232',
        access_token_secret => '432432432'
    );

    my $query = Net::Launchpad::Query->new(lpc => $c);
    my $res = $query->people->get_by_email('deez@example.com');

    print "Name: ". $res->result->{name};

=head1 AUTHOR

Adam Stokes <adamjs@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Adam Stokes.

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

=cut



( run in 0.314 second using v1.01-cache-2.11-cpan-5467b0d2c73 )