How to access the thinkery API using Ruby