Footprintless::Resource::Provider - A contract for providing resources to the resource manager
version 1.17
The abstract base class for all providers. The class defines the contract that all providers must adhere to. Providers not intended to be used directly. Instead an instance of Footprintless::ResourceManager should be initialized with an ordered list of providers. See Footprintless::ResourceManager for usage.
Footprintless::ResourceManager
See implementation classes.
Downloads $resource and returns the filename it downloaded to. The returned filename may be an object which overrides the "" operator so that when used in string context, you will get the actual filename. All %options are passed through to the implementation. At minimum, all implementations must support these options:
$resource
""
%options
The path of a directory or filename to download to.
Returns an instance of the subclass of Footprintless::Resource provided by this provider, indicated by $spec.
Footprintless::Resource
$spec
Returns 1 if this provider supports $spec, 0 otherwise.
1
0
Lucas Theisen <lucastheisen@pastdev.com>
This software is copyright (c) 2016 by Lucas Theisen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Please see those modules/websites for more information related to this module.
Footprintless
Footprintless::Resource::Provider
Footprintless::Resource::Url
To install Footprintless, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Footprintless
CPAN shell
perl -MCPAN -e shell install Footprintless
For more information on module installation, please visit the detailed CPAN module installation guide.