Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kuvera-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kuvera-api

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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
# => {"id"=>1, "admin_id"=>2, "name"=>"Kuvera Carrier"}
  • Secret files uploading
Kuvera::Api.upload('My Passport', File.open('passport.pdf'), 'application/pdf')
# => {"address"=>"KEY-11ff53da91ba292ef628b457895bf7ea", "status"=>"success", "title"=>"My Passport"}
  • Secrets sharing
Kuvera::Api.share('KEY-11ff53da91ba292ef628b457895bf7ea')
# => {"path"=>"https://kuvera.io/at/SHARE-d00a96d19889639a5a5d3991c6fab49d", "status"=>"success"}

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.

FAQs

Package last updated on 12 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc