a ruby wrapper for Gitlab API V2
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
foxit.gemspec

README.md

Foxit

Foxit is an simple Ruby wrapper around gitlab V2 API.

The design is inspired by octokit, a Github V3 API wrapper.

Installation

gem install foxit

Usage

# Initlize the connection
require 'foxit'
client = Foxit::Client.new(:endpoint => "http://git.zenhacks.org", :private_token => "secret")       

# Query Methods

## GET /users
client.users

## POST /users
client.create_user

## GET /projects/:name
client.project('foxit')

Checkout the client folder for all available methods on the cli object.

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