hockeyhelper gem
Helper gem for HokceyApp API.
Installation
Add this line to your application's Gemfile:
gem 'hockeyhelper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hockeyhelper
Usage
create a new app and an invite user
require 'hockeyhelper'
client = Hockey::Client.new 'yourapitoken'
app = client.new_app(title: appname, bundle_identifier: bundleid, platform: platform)
user = app.invite_user(email: email)
list all apps with paging
require 'hockeyhelper'
client = Hockey::Client.new 'yourapitoken'
apps = client.apps(page: 1)
list all versions for an app
require 'hockeyhelper'
client = Hockey::Client.new 'yourapitoken'
versions = client.apps(page: 1)[0].versions
list all users for an app
require 'hockeyhelper'
client = Hockey::Client.new 'yourapitoken'
users = client.apps(page: 1)[0].users
remove a user from an app
require 'hockeyhelper'
client = Hockey::Client.new 'yourapitoken'
client.apps(page: 1)[0].remove_user '[email protected]'
list all teams with paging
require 'hockeyhelper'
client = Hockey::Client.new 'yourapitoken'
teams = client.teams(page: 1)
Contributing
- Fork it ( https://github.com/[my-github-username]/hockey/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