https://github.com/linyows/mruby-github
https://github.com/linyows/mruby-github
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/linyows/mruby-github
- Owner: linyows
- License: other
- Created: 2016-12-09T10:13:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-12T06:57:48.000Z (over 8 years ago)
- Last Synced: 2025-04-03T13:00:33.751Z (about 1 month ago)
- Language: Ruby
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mruby-github
============The Github API Client for mruby.
[][travis]
[travis]: http://travis-ci.org/linyows/mruby-githubMrbgems Installation
--------------------- add conf.gem line to `build_config.rb`
```ruby
MRuby::Build.new do |conf|# ... (snip) ...
conf.gem :github => 'linyows/mruby-github'
end
```Example
-------```ruby
> 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
-------- [linyows][linyows]
[linyows]: https://github.com/linyowsLicense
-------The MIT License (MIT)