Skip to content

Instantly share code, notes, and snippets.

View ytspar's full-sized avatar

Yury Tsukerman ytspar

View GitHub Profile
require 'uri'
require 'net/https'
require 'json'
API_URL = "https://sl.carouselsms.com/api"
API_KEY = "[API KEY GOES HERE]"
# Simple ServiceLayer gateway class
class ServiceLayer
class Error < StandardError; end