Foxit is an simple Ruby wrapper around gitlab V2 API.
The design is inspired by octokit, a Github V3 API wrapper.
gem install foxit
# 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.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request