Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Rakefile
Octocat-spinner-32 client_exec.gemspec

Client Exec Client Exec Build Status

A Ruby library for working with the Client Exec API.


gem install client_exec
bundle install


require 'client_exec'

ClientExec.config do |c|
  c.base_uri '' # Root level URI for Client Exec API
  c.username 'user'               # Client Exec username
  c.password 'topsecret'          # Client Exec password


View a license:

license =
license.get ''

Add a license:

license.add ''

Delete a license:

license.delete ''


ClientExec uses rspec for tests. To run:

bundle exec rake

Error Handling

It always returns a Hash with a msg field that contains the error message.

license.get ''
{"error" => true, "msg" => "license does not exists"}


Supported Methods

This gem implements the Client Exec license API v1.0.

It includes:

  • Add License.
  • View License.
  • Delete License.

You're welcome to contribute and extend the client to support more API methods.

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.


Copyright (c) 2012 See LICENSE for details.

Something went wrong with that request. Please try again.