chardane/ClarifaiRuby

View on GitHub
bin/console

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby

require "bundler/setup"
require "clarifai_ruby"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

ClarifaiRuby.configure do |config|
  config.base_url = 'https://api.clarifai.com'
  config.version_path = "/v1"
  config.client_id = "-GMMA7LUQQ_xKYRWQDgIosC2U6JNusO7R7neDIJy"
  config.client_secret = "VPH8lyZjE9BhnztcvXeGWRA_OUEfckFBt4sgWqXj"
end

@client = ClarifaiRuby::Client.new

require "pry"
Pry.start