geekbot_ruby

CircleCI

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

  1. Fork it ( https://github.com/standfirm/geekbot_ruby/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

The gem is available as open source under the terms of the MIT License.