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 create { ... }
    sub update_by_id { ... }
    sub delete_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.

create

Create one job data including job_times data.

update_by_id

Update one job data including job_times data.

delete_by_id

Delete one job data including job_times data.

SEE ALSO

App::Koyomi::Job

AUTHORS

IKEDA Kiyoshi <progrhyme@gmail.com>

LICENSE

Copyright (C) 2015-2017 IKEDA 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.