Skip to content

The renuo upload (ruby client) allows in combination with the renuo upload service to easily upload files.

License

Notifications You must be signed in to change notification settings

renuo/renuo-upload-ruby

Repository files navigation

Gem Version Build Status Build Status

Renuo Upload

Gem for Ruby 2.0+ applications that use the excellent Renuo Upload

Installation

Add this line to your application's Gemfile and run bundle:

gem 'renuo-upload'

Usage

Configuration

The configuration is optional. If you want to use it, add an initializer:

RenuoUpload.configure do |config|
  config.api_key = 'custom-api-key'             # Default: ENV['RENUO_UPLOAD_API_KEY']
  config.signing_url = 'custom-signing-url'     # Default: ENV['RENUO_UPLOAD_SIGNING_URL']
end

Example

require 'renuo-upload'

file = File.new('tmp/examplefile.pdf')
file_url = RenuoUpload.upload!(file)

Development

Contributing

See the CONTRIBUTING file.

Release

git flow release start [.....]
# adjust version.rb
# check (and adjust) CHANGELOG.md
bundle install
git commit -av
git flow release finish [.....]
git push origin develop:develop
git push origin master:master
git checkout master
bundle exec rake release
git checkout develop

Copyright

Renuo AG - MIT LICENSE - 2019

About

The renuo upload (ruby client) allows in combination with the renuo upload service to easily upload files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •