Skip to content
carrierwave-google_drive
Ruby
Find file
Latest commit 4b26186 @parallel588 Update README.md
Failed to load latest commit information.
lib
.gitignore
Gemfile develop version
LICENSE.txt develop version
README.md Update README.md
Rakefile develop version
carrierwave-google_drive.gemspec develop version

README.md

Carrierwave::GoogleDrive

This gem adds storage support for Google Drive to CarrierWave

Installation

Add this line to your application's Gemfile:

gem 'carrierwave-google_drive'

And then execute:

$ bundle

Or install it yourself as:

$ gem install carrierwave-google_drive

Usage

Note that for your uploader, your should extend the CarrierWave::Uploader::GoogleDrive class.

class DocumentUploader < CarrierWave::Uploader::GoogleDrive

  google_login    'google_account@gmail.com'
  google_password 'password'


end

Contributing

  1. Fork it
  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 new Pull Request
Something went wrong with that request. Please try again.