Open::Uploader::Client
- This is client library for open-uploader
Installation
Add this line to your application's Gemfile:
gem 'open-uploader-client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install open-uploader-client
Usage
# image_upload_sample.rb
require 'open-uploader-client'
@client = Uploader::Client.new("http://localhost:3000")
@client.item_create("sample image", "/path/to/image.png")
Contributing
- 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