NAME

App::Koyomi::DataSource::Job - Abstract datasource class for job entity

SYNOPSIS

use parent qw(App::Koyomi::DataSource::Job);

# Your implementation goes below
sub instance { ... }
sub gets { ... }
sub get_by_id { ... }
sub update_by_id { ... }

DESCRIPTION

Abstract datasource class for koyomi job entity.

METHODS

instance

Construct datasource object. Probably it's singleton.

gets

Fetch all job data as array.

get_by_id

Fetch one job data including job_times data.

update_by_id

Update one job data including job_times data.

SEE ALSO

App::Koyomi::Job

AUTHORS

YASUTAKE Kiyoshi <yasutake.kiyoshi@gmail.com>

LICENSE

Copyright (C) 2015 YASUTAKE Kiyoshi.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. That means either (a) the GNU General Public License or (b) the Artistic License.