Net::OpenXchange::Module - Role for OpenXchange modules
Net::OpenXchange::Module is a role to be consumed by classes implementing methods for the OpenXchange API
Required constructor argument, the Net::OpenXchange::Connection object.
A string representing all attribute IDs to be used in 'columns' fields in requests.
my $time = $module->ox_time($dt);
Convert the given DateTime object into an OpenXchange datetime.
my $date = $module->ox_date($dt);
Convert the given DateTime object into an OpenXchange date.
my $uri = $module->req_uri($path, %params); my $uri = $module->req_uri('folder', action => 'all'); # $uri is https://yourox/ajax/folder?action=all
Construct a URI by appending the given path to the root URI and adding the params as URI query parameters.
Maximilian Gass <firstname.lastname@example.org>
This software is copyright (c) 2011 by Maximilian Gass.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.