Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  config
  lib
  spec
  .gitignore
  .rspec
  Gemfile
  LICENSE.txt
  README.md
  Rakefile
  unikey-api-core.gemspec
Size: Mime:
  README.md

Unikey::Api::Core

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'unikey-api-core'

And then execute:

$ bundle

Or install it yourself as:

$ gem install unikey-api-core

Usage

Unikey::Api::Core.configure({ base_url: 'stagingservername.unikey.com', version: 'newish' })

authentication = Unikey::Api::Core::Authentication.authenticate!('username','password').body['authentication']

locks = Unikey::Api::Core::Connection.new({authentication: authentication}).get('/Users/id/Locks')

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request