Skip to content

webstreak/tapclicks-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tapclicks::Api

A simple ruby wrapper for the Tapclicks API

Installation

Add this line to your application's Gemfile:

gem 'tapclicks-api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tapclicks-api

Usage

Get all users:

   service = TapclicksApi::Users.new(client_id: CLIENT_ID, client_secret: SECRET)
   users = service.get

Get user by id

   user = service.get(ID)

Create user user = service.create( { "user_type": "agent", "email": "[email protected]", "password": "user1234", "first_name": "John", "last_name": "Doe", "reporting_profile_id": 1, "client_group_id": 1, "role_id": 1 } )

License

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

About

A simple ruby wrapper for the Tapclicks API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published