Skip to content

Instantly share code, notes, and snippets.

View emckean's full-sized avatar
💭
have I told you about Wordnik?

Erin McKean emckean

💭
have I told you about Wordnik?
View GitHub Profile
/Users/emckean/.rvm/gems/ruby-1.9.2-p180/gems/wordnik-4.06.10/lib/wordnik/response.rb:21:in `initialize': message (ClientError)
from /Users/emckean/.rvm/gems/ruby-1.9.2-p180/gems/wordnik-4.06.10/lib/wordnik/request.rb:173:in `new'
from /Users/emckean/.rvm/gems/ruby-1.9.2-p180/gems/wordnik-4.06.10/lib/wordnik/request.rb:173:in `make'
from /Users/emckean/.rvm/gems/ruby-1.9.2-p180/gems/wordnik-4.06.10/lib/wordnik/request.rb:177:in `response'
from /Users/emckean/.rvm/gems/ruby-1.9.2-p180/gems/wordnik-4.06.10/lib/wordnik/resource_modules/word_list.rb:84:in `get_word_list_by_id'
from single-list-test.rb:17:in `<main>'
require 'wordnik'
%w(rubygems wordnik).each {|lib| require lib}
Wordnik.configure do |config|
config.api_key = ''
config.response_format = 'xml'
end
#unless ARGV.length == 2