0

Ruby client library
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Ruby client library

by jsc on Sat Dec 05, 2015 8:39 pm

Just getting started with the Ruby client library. Thought I would mention some things I ran into:

1. The github commits say something about removing the hashie dependency from the gemspec, but when I installed the adafruit-io gem and tried to require 'adafruit/io', I had to end up installing and requiring hashie and activemodel.

2. The code is set up to hit localhost:3002. If you want it to hit adafruit.io itself, you have to change the url in client.rb.

With those two changes, it appears to be working.

jsc
 
Posts: 13
Joined: Wed Nov 05, 2008 1:58 pm

Please be positive and constructive with your questions and comments.


cron