Sha256: 129c8f1d2527593b8acda7c63c57e044af76e42401be8b066ff3269562450763
Contents?: true
Size: 964 Bytes
Versions: 1
Compression:
Stored size: 964 Bytes
Contents
# Refile::Fog [![Build Status](https://travis-ci.org/refile/refile-fog.svg)](https://travis-ci.org/refile/refile-fog) A backend for [Refile](https://github.com/elabs/refile) which provides storage in multiple cloud storage services via the [Fog](https://github.com/fog/fog) cloud services gem. If you're looking for a backend for Amazon S3, please use Refile's build in S3 backend. It is far superior to using S3 via Fog. ## Installation Add this line to your application's Gemfile: ```ruby gem 'refile-fog' ``` Set up Refile to use the fog backend: ``` ruby # config/initializers/refile.rb require "refile/fog" credentials = { provider: "Google", aws_access_key_id: "zyx", aws_secret_access_key: "12345", directory: "my-app" } Refile.configure do |config| config.cache = Refile::Fog::Backend.new(prefix: "cache", **credentials) config.store = Refile::Fog::Backend.new(prefix: "store", **credentials) end ``` ## License [MIT](License.txt)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refile-fog-0.2.0 | README.md |