zenhub_ruby
Ruby client of ZenHub API
Installation
Add this line to your application's Gemfile:
gem 'zenhub_ruby'
And then execute:
$ bundle
Or install it yourself as:
$ gem install zenhub_ruby
Usage
Setup
require 'zenhub_ruby'
client = ZenhubRuby::Client.new('YOUR_ACCESS_TOKEN')
Get issue data
client.issue_data(REPO_ID, ISSUE_NUMBER)
Get issue events
client.issue_events(REPO_ID, ISSUE_NUMBER)
Get the ZenHub Board data for a repository
client.board_data(REPO_ID)
Contributing
- 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
License
MIT