ccollins/rebay — Issue #4: "Ack" is sometimes "ack" in responses
Author: hovatterz
Created: 2012-02-17 02:26:04+00:00
State: open

Given:

finder = Rebay::Finding.new
response = finder.find_items_by_keywords(:keywords => query)

The response I'm getting (at least sometimes?):

{"ack"=>"Success", "version"=>"1.11.0", "timestamp"=>"2012-02-17T02:25:21.841Z"

The success? method only checks "Ack". Checking for both fixes the issue for me.