Luca Passani
and 1 contributors

NAME

Net::WURFL::ScientiaMobile::Cache::Cache - Cache provider for the WURFL Cloud Client based on Cache.pm

SYNOPSIS

    use Net::WURFL::ScientiaMobile;
    use Net::WURFL::ScientiaMobile::Cache::Cache;
    
    my $scientiamobile = Net::WURFL::ScientiaMobile->new(
        api_key => '...',
        cache   => Net::WURFL::ScientiaMobile::Cache::Cache->new(
            cache => Cache::File->new(cache_root => '/tmp/cacheroot'),
        ),
    );

DESCRIPTION

This WURFL Cloud Client Cache Provider provides a bridge to use Cache-based modules.

CONSTRUCTOR

The new constructor accepts the following named arguments.

cache

Required. An instance of a caching module which implements the Cache interface.

prefix

You can use this argument to customize the namespace prefix used by this module to store general data. The default is dbapi_.

SEE ALSO

Net::WURFL::ScientiaMobile, Net::WURFL::ScientiaMobile::Cache

COPYRIGHT & LICENSE

Copyright 2012, ScientiaMobile, Inc.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.