NAME
Test::Override::UserAgent::Scope - Scoping the user agent overrides
VERSION
Version 0.001
SYNOPSIS
# $scope created by Test::Override::UserAgent
# Say the class name the implements the given scheme
say $scope->scheme_implementor($scheme);
DESCRIPTION
This module is a used to specify a scope that LWP::UserAgent will be overridden with the specified configuration.
CONSTRUCTOR
new
This will construct a new configuration object to allow for configuring user agent overrides.
- new(%attributes)
-
%attributes
is a HASH where the keys are attributes (specified in the "ATTRIBUTES" section). - new($attributes)
-
$attributes
is a HASHREF where the keys are attributes (specified in the "ATTRIBUTES" section).
ATTRIBUTES
override
This is a Test::Override::UserAgent object that specifies the configuration to use for this override.
METHODS
scheme_implementor
This takes the name of a scheme and returns the name of the class that will implement LWP::Protocol for that scheme.
DEPENDENCIES
AUTHOR
Douglas Christopher Wilson, <doug at somethingdoug.com>
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-test-override-useragent at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Override-UserAgent. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Override::UserAgent::Scope
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Override-UserAgent
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2010 Douglas Christopher Wilson.
This program is free software; you can redistribute it and/or modify it under the terms of either:
the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
the Artistic License version 2.0.