A Ruby Gem that can be used for integration with the OnSIP platform.
Add this line to your application's Gemfile:
gem 'onsip'
And then execute:
$ bundle
Or install it yourself as:
$ gem install onsip
require 'onsip'
OnSIP.connect('https://api.onsip.com/api')
OnSIP.auth!(<username>, <password>)
account = OnSIP.session.account # Find the account associated with this session
users = account.users # Find the Users associated with that account
pp users
- Document all implemented methods
- Implement all available methods
- Add paging for collections
- Fork it ( https://github.com/icehook/onsip/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