NAME
Net::Lighthouse::Project::TicketBin - Project TicketBin
SYNOPSIS
use Net::Lighthouse::Project::TicketBin;
my $bin = Net::Lighthouse::Project::TicketBin->new(
account => 'sunnavy',
auth => { token => '' },
project_id => 12345,
);
$bin->load( 1 );
print $bin->name;
$bin->delete;
ATTRIBUTES
- updated_at
-
ro, DateTime
- user_id, position, project_id, tickets_count, id
-
ro, Int
-
ro, Bool
- default
-
rw, Bool
- name, query,
-
rw, Maybe Str
INTERFACE
- load( $id | $name ), load_from_xml( $hashref | $xml_string )
-
load a ticket bin, return the loaded ticket bin object
- create( name => '', query => '', default => '' );
-
create a ticket bin, return true if succeeded
- update( name => '', query => '', default => '' );
-
update a ticket bin, return true if succeeded
- delete
-
delete the ticket bin, return true if succeeded
- list
-
return a list of ticket bins, each isa Net::Lighthouse::Project::TicketBin.
SEE ALSO
http://lighthouseapp.com/api/ticket-bins
ATTRIBUTES
INTERFACE
AUTHOR
sunnavy <sunnavy@bestpractical.com>
LICENCE AND COPYRIGHT
Copyright 2009-2010 Best Practical Solutions.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.