Project

horntell

0.0
No commit activity in last 3 years
No release in over 3 years
This SDK allows you to easily integrate Horntell in your Ruby applications.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

~> 1.8.1
 Project Readme

Horntell SDK for Ruby

This SDK allows you to easily integrate Horntell in your Ruby applications.

Requirements

Ruby 1.9.2 and later.

openssl compiled with your Ruby installation

Gems: rest-client, json

Installation

You don't need this source code unless you want to modify the gem. If you just want to use the Horntell Ruby SDK, you should run:

gem install horntell

If you want to build the gem from source, run this:

gem build horntell.gemspec

Bundler

If you are installing via bundler, you should be sure to use the https rubygems source in your Gemfile, as any gems fetched over http could potentially be compromised in transit and alter the code of gems fetched securely over https:

source 'https://rubygems.org'

gem 'horntell'

And then execute:

bundle install

Getting Started

You need to initialize the SDK with the app's key and secret, which you can find in your account at http://app.horntell.com. Sample usage looks like this.

Horntell::App.init('YOUR_APP_KEY', 'YOUR_APP_SECRET');
Horntell::Profile.create({
	:uid => "1337",
	:first_name => "John",
	:last_name => "Doe",
	:signedup_at => 1383350400
})

Documentation

Please see http://docs.horntell.com/api for up-to-date documentation.