Hey guys,
I've been working on a Rails app that integrates CheddarGetter and I developed a lot of the user system a couple weeks ago and things have been great! Unfortunately, I ran across an issue when I was running my test suite today:
NameError: uninitialized constant CheddarGetter::Response::Crack
from /Users/sausman/.rvm/gems/ruby-1.9.2-p290/gems/cheddargetter_client_ruby-0.3.2/lib/cheddar_getter/response.rb:390:in `create_clean_response'
from /Users/sausman/.rvm/gems/ruby-1.9.2-p290/gems/cheddargetter_client_ruby-0.3.2/lib/cheddar_getter/response.rb:48:in `initialize'
from /Users/sausman/.rvm/gems/ruby-1.9.2-p290/gems/cheddargetter_client_ruby-0.3.2/lib/cheddar_getter/client.rb:560:in `new'
from /Users/sausman/.rvm/gems/ruby-1.9.2-p290/gems/cheddargetter_client_ruby-0.3.2/lib/cheddar_getter/client.rb:560:in `do_request'
from /Users/sausman/.rvm/gems/ruby-1.9.2-p290/gems/cheddargetter_client_ruby-0.3.2/lib/cheddar_getter/client.rb:90:in `get_customer'
This happened when using the get_customer() method.
Here is a link to the file that has the uninitialized constant:
https://github.com/expectedbehavior/cheddargetter_client_ruby/blob/...
(see line 390).
Thanks

#1 Posted by Marc Guyer Support staff on 14 Sep, 2011 10:50 PM
Hi Stephen -- It seems this isn't documented but the crack gem is also apparently required.
#2 Posted by Stephen Ausman on 15 Sep, 2011 12:02 AM
Thanks, working again now.
Marc Guyer closed this discussion on 15 Sep, 2011 09:32 PM.