Project

skipio_api

0.0
No commit activity in last 3 years
No release in over 3 years
API Communication for Skipio
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

A simple ruby wrapper for skipio api

gem install skipio_api

require 'skipio'

Usage

service = Skipio.new({ token: Rails.application.secrets.skipio_api, params: @options, api_server: :dev })

# api server defaults on dev

Contact List

service.contact_list(options) # options = { page: 1, per: 10 }

Find Contact

service.find_contact(id) #=> contact_id

Send Message

service.send_message(options) # => { recipients: 'Comma Separated User UUID', message: 'body message' }

by url

action = :get or :post
url = 'v1/contacts'
options = { params: { Hash: parameters }, json: { Hash: json } }
service.process_by_url(url, action, options)