Ruby SDK

Ruby SDK

Panoply provides a Ruby SDK for streaming data in real time.

Learn more in the GitHub repo panoplyio/color-sdk-ruby.

Usage

require "color"

# init with the SQS endpoint
sdk = Color::SDK.new( "API-KEY", "API-SECRET" )

# add arbitrary objects to the internal buffer
sdk.write({ id: "15", event: "install", user: 15, device: "iPhone" })
sdk.write({ event: "click", user: 12, device: "iPad" })
sdk.flush() # send the internal buffer to the queue