Sha256: 0c2c9005234f21a361f1dfe4e00eb5605cf4c27b2bc9aca10a533921370367ce
Contents?: true
Size: 962 Bytes
Versions: 2
Compression:
Stored size: 962 Bytes
Contents
# Refile::Fog [](https://travis-ci.org/elabs/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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refile-fog-0.1.1 | README.md |
refile-fog-0.1.0 | README.md |