ePages 7.0.0 - DE_EPAGES/EasyMarketing/API/SnippetDownloader.pm

Package DE_EPAGES::EasyMarketing::API::SnippetDownloader

Downloads the snippets from EasyMarketing over their API

Functions

LogError
new
setSnippetDAO
updateSnippetsByShop

LogError

Wraps the core bindings

Syntax
LogError( $Error );
Input
$Error (object)
an error object

new

Constructor

Syntax
new();
Return
(DE_EPAGES::EasyMarketing::API::SnippetDownloader)
object

setSnippetDAO

Sets the SnippetDAO, which is needed to save the downloaded snippets

Syntax
setSnippetDAO( $SnippetDAO );
Input
$SnippetDAO (DE_EPAGES::EasyMarketing::API::SnippetDAO)
SnippetDAO

updateSnippetsByShop

update the snippet based on shop object

Syntax
updateSnippetsByShop( $Shop );
Input
$Shop (DE_EPAGES::Shop::API::Object::Shop)
shop object
Return
(Boolean)
Status