Skip to content

yangchenyun/foxit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a ruby wrapper for Gitlab API V2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages