API-Assembla
view release on metacpan or search on metacpan
lib/API/Assembla.pm view on Meta::CPAN
username => $username,
password => $password
);
my $href_of_spaces = $api->get_spaces;
# Got an href of API::Assembla::Space objects keyed by space id
my $space = $api->get_space($space_id);
# Got an API::Assembla::Space object
my $href_of_tickets = $api->get_tickets;
# Got an href of API::Assembla::Space objects keyed by ticket id
my $ticket = $api->get_ticket($space_id, $ticket_number);
# Got an API::Assembla::Ticket object
=head1 DESCRIPTION
API::Assembla is a Perl interface to L<Assembla|http://www.assembla.com/>, a
ticketing, code hosting collaboration tool.
=head1 ATTRIBUTES
=head2 password
The password to use when logging in.
=head2 url
The URL to use when working with the api. Defaults to
http://www.assembla.com
=head2 username
The username to use when logging in.
=head1 METHODS
=head2 get_space ($id)
Get Space information.
=head2 get_spaces
Get Space information. Returns a hashref of L<API::Assembla::Space> objects
keyed by the space's name.
=head2 get_tickets ($space_id, $number)
Get Tickets for a space information.
=head2 get_tickets ($space_id)
Get Tickets for a space information.
=head1 AUTHOR
Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Infinity Interactive, Inc.
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
__END__
( run in 1.271 second using v1.01-cache-2.11-cpan-bbcb1afb8fc )