Footprintless::Resource::Provider - A contract for providing resources to the resource manager
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.
$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.
%options are passed through to the implementation.
all implementations must support these options:
The path of a directory or filename to download to.
Returns an instance of the subclass of
Footprintless::Resource provided by this provider,
1 if this provider supports
Lucas Theisen <firstname.lastname@example.org>
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.