Skip to content
No description, website, or topics provided.
Ruby C
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mrblib
src
test
.travis.yml
.travis_build_config.rb
LICENSE
README.md
Rakefile
build_config.rb
mrbgem.rake
mruby-github.gem

README.md

mruby-github

The Github API Client for mruby.

[Build Status][travis] [travis]: http://travis-ci.org/linyows/mruby-github

Mrbgems Installation

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :github => 'linyows/mruby-github'
end

Example

> 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

Authors

License

The MIT License (MIT)

You can’t perform that action at this time.