-
-
19 Aug 2013 06:46:14 UTC
- Distribution: API-Plesk
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (656 / 345 / 0)
- Kwalitee
Bus factor: 0- 64.03% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (21.7KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- Data::Dumper
- HTTP::Request
- LWP::UserAgent
- Module::Build
- XML::Fast
- version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
API::Plesk::Mock - Module for testing API::Plesk without sending real requests to Plesk API.
SYNOPSIS
use API::Plesk::Mock; my $api = API::Plesk::Mock->new( username => 'user', # required password => 'pass', # required url => 'https://127.0.0.1:8443/enterprise/control/agent.php', # required api_version => '1.6.3.1', debug => 0, timeout => 30, ); $api->mock_response($some_response_xml); $api->mock_error($some_error_text);
DESCRIPTION
Module for testing API::Plesk without sending real requests to Plesk API.
METHODS
AUTHOR
Ivan Sokolov <ivsokolov[at]cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2008 by Ivan Sokolov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
Module Install Instructions
To install API::Plesk, copy and paste the appropriate command in to your terminal.
cpanm API::Plesk
perl -MCPAN -e shell install API::Plesk
For more information on module installation, please visit the detailed CPAN module installation guide.