Ruby wrapper for Localytics API
A lot of inspiration (and code) for how this gem was built come from https://github.com/Mango/mango-ruby
API to interact with Localytics https://localytics.com/
As usual, you can install it using rubygems.
$ gem install localytics-ruby
require 'localytics-ruby'
Localytics.api_key = ENV['LOCALYTICS_API_KEY']
Localytics.api_secret = ENV['LOCALYTICS_API_SECRET']
customerId = 1
begin
profile = Localytics::Profile.show 1
rescue Localytics::Error => e
e.each {|code, message| ... }
end