This gem adds storage support for Google Drive to CarrierWave
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
Note that for your uploader, your should extend the CarrierWave::Uploader::GoogleDrive class.
class DocumentUploader < CarrierWave::Uploader::GoogleDrive
google_login '[email protected]'
google_password 'password'
end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request