The Github API Client for mruby.
[][travis]
[travis]: http://travis-ci.org/linyows/mruby-github
- add conf.gem line to
build_config.rb
MRuby::Build.new do |conf|
# ... (snip) ...
conf.gem :github => 'linyows/mruby-github'
end
> client = Github::Client.new
> teams = client.org_teams('foo-org')
> team = teams.find { |t| t['name'] == 'bar-team' }
> client.team_member?(team['id'], 'baz-user')
=> true
- [linyows][linyows] [linyows]: https://github.com/linyows
The MIT License (MIT)