Gem for bindings with Kiik API
- ruby >= 2.2.3
- httpaty >= 0.13.7
gem install kiik
source 'https://rubygems.org'
gem 'kiik'
Kiik gem use config file config/kiik.yml
for take api_key
For create this file in your project use task:
rake kiik:config
Don't forget to change api_key
to your key
#Create customer
customer = Kiik::Customer.create({name: "User name", email: "user@email.com"})
For production env, don't forget to set KIIK_ENV
to production
, that way, our gem will read the kiik.yml
file corretly.