Kuvera::Api
This gem is an official Kuvera API wrapper.
Installation
Add this line to your application's Gemfile:
gem 'kuvera-api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kuvera-api
Usage
- One-time secrets receving through the
at
command.
Kuvera::Api.at('SHARE-78c4e15f8f1f3e43f6950975f97ff7c2858bcc5a')
- Authentification with OAuth credentials
Kuvera::Api.me
Kuvera::Api.upload('My Passport', File.open('passport.pdf'), 'application/pdf')
Kuvera::Api.share('KEY-11ff53da91ba292ef628b457895bf7ea')
In order to use carrier-related methods you need to provide OAUTH_UID
and OAUTH_SECRET
.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/CleverLabs/kuvera-api.
License
The gem is available as open source under the terms of the MIT License.