NAME

Exobrain::Agent::Idonethis - Roles for to iDonethis agents

VERSION

version 1.08

SYNOPSIS

use Moose;
with 'Exobrain::Agent::Idonethis'

DESCRIPTION

This role provides useful methods and attributes for agents wishing to integrate with the iDoneThis web service.

METHODS

idone

$self->idone->set_done( text => '... ');

This returns a WebService::Idonethis object that's already been constructed and authenticated.

to_ymd

my $ymd = $self->to_ymd( time );

Converts a time in epoch seconds to YYYY-MM-DD format in the local timezone.

AUTHOR

Paul Fenwick <pjf@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Paul Fenwick.

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