Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache::Backend::IronCache

An Iron Cache backend for the Quarter Spiral cache-client gem.

Setup

Require this gem and the cache-client gem e.g. in your Gemfile:

gem 'cache-client'
gem 'cache-backend-iron-cache'

Then use it like this:

cache_client = Cache::Client.new(Cache::Backend::IronCache, 'IRON_CACHE_PROJECT_ID', 'IRON_CACHE_TOKEN', 'CACHE_NAME', more_iron_cache_client_options)

more_iron_cache_client_options is a hash and can be omitted. When set it will be directly sent to the Iron Cache client

Testing

Tests need a connection to the internet and you must set two environment variables with your Iron Cache project id and token: TEST_IRON_CACHE_PROJECT_ID and TEST_IRON_CACHE_TOKEN.

About

An Iron Cache backend for the Quarter Spiral cache-client gem.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages