Datahub::Factory::Exporter - Namespace for exporter packages
use Datahub::Factory; my $datahub_options = { datahub_url => 'https://www.datahub.be', oauth_client_id => 'mydatahub', oauth_client_secret => 'thedatahub', oauth_username => 'datahub', oauth_password => 'adatahub' }; my $exporter = Datahub::Factory->exporter('Datahub')->new($datahub_options); $exporter->add({'id' => 1});
A Datahub::Factory::Exporter is a package that is used as a role for packages that export data to an endpoint. It enforces a generic reusable interface so different packages can be loaded and executed programmatically.
Pieter De Praetere <pieter@packed.be>
Matthias Vandermaesen <matthias.vandermaesen@vlaamsekunstcollectie.be>
Copyright 2017 - PACKED vzw, Vlaamse Kunstcollectie vzw
This library is free software; you can redistribute it and/or modify it under the terms of the GPLv3.
To install Datahub::Factory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Datahub::Factory
CPAN shell
perl -MCPAN -e shell install Datahub::Factory
For more information on module installation, please visit the detailed CPAN module installation guide.