Skip to content

Repository files navigation

OnSIP

A Ruby Gem that can be used for integration with the OnSIP platform.

Installation

Add this line to your application's Gemfile:

gem'onsip'

And then execute:

$ bundle

Or install it yourself as:

$ gem install onsip

Usage

require'onsip'OnSIP.connect('https://api.onsip.com/api')OnSIP.auth!(<username>, <password>)account=OnSIP.session.account# Find the account associated with this sessionusers=account.users# Find the Users associated with that accountppusers

TODO

  • Document all implemented methods
  • Implement all available methods
  • Add paging for collections

Contributing

  1. Fork it ( https://github.com/icehook/onsip/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

About

A Ruby Gem for interacting with OnSIP's API

Topics

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages