Skip to content

railsware/activeresource-conditional-get

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is up to date with srozum/activeresource-conditional-get:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

activeresource-conditional-get

HTTP conditional get support for ActiveResource.

Installation

Add this line to your application’s Gemfile:

gem 'activeresource-conditional-get'

And then execute:

$ bundle

Or install it yourself as:

$ gem install activeresource-conditional-get

Usage

Works out of box after adding:

ActiveResource::Base.cache = Rails.cache

Or

ActiveResource::Base.cache = ActiveSupport::Cache.lookup_store(:mem_cache_store)

References

Contributing to activeresource-conditional-get

  • Fork it

  • Create your feature branch (‘git checkout -b my-new-feature`)

  • Commit your changes (‘git commit -am ’Added some feature’‘)

  • Push to the branch (‘git push origin my-new-feature`)

  • Create new Pull Request

Copyright © 2012 Sergey Rozum. See LICENSE.txt for further details.

About

HTTP conditional get support for ActiveResource

Resources

License

Stars

Watchers

Forks

Packages

No packages published