A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/fog/fog-local below:

fog/fog-local: Module for the 'fog' gem to support local filesystem storage

Add this line to your application's Gemfile:

And then execute:

Or install it yourself as:

Initialise a Fog::Local::Storage object:

storage = Fog::Local::Storage.new(local_root: '~/fog')

This can then be used like any other Fog storage.

directory = storage.directories.create(key: 'data')
directory.files.create(body: 'Hello World!', key: 'hello_world.txt')
  1. Fork it ( https://github.com/fog/fog-local/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4