geekbot_ruby
Geekbot API library, written in Ruby
Installation
Add this line to your application's Gemfile:
gem 'geekbot'
And then execute:
$ bundle
Or install it yourself as:
$ gem install geekbot
Usage
# Initialization
client = Geekbot::Client.new(access_token: "<your_access_token>")
# Team API
client.index_teams
#=> GET /v1/teams
# Report API
client.index_reports
#=> GET /v1/reports
# Standup API
client.index_standups
#=> GET /v1/standups
client.show_standup(id: xxx)
#=> GET /v1/standups/:id
client.create_standup(params: param)
#=> POST /v1/standups
client.update_standup(id: xxx, params: param)
#=> PATCH /v1/standups/:id
client.replace_standup(id: xxx, params: param)
#=> PUT /v1/standups/:id
client.destroy_standup(id: xxx)
#=> DELETE /v1/standups/:id
see also: Geekbot API Docs
Contributing
- Fork it ( https://github.com/standfirm/geekbot_ruby/fork )
- 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 a new Pull Request
License
The gem is available as open source under the terms of the MIT License.