Skip to content
The renuo upload (ruby client) allows in combination with the renuo upload service to easily upload files.
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
spec
.editorconfig
.gitignore
.reek
.rspec
.rubocop.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE
README.md
Rakefile
renuo_upload.gemspec

README.md

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

You can’t perform that action at this time.