lib/gooddata/client.rb in gooddata-0.5.10 vs lib/gooddata/client.rb in gooddata-0.5.11
- old
+ new
@@ -187,10 +187,10 @@
def delete(path, options = {})
connection.delete path, options
end
def poll(result, key)
- link = result[key]["link"]["poll"]
+ link = result[key]["links"]["poll"]
response = GoodData.get(link, :process => false)
while response.code != 204
sleep 5
GoodData.connection.retryable(:tries => 3, :on => RestClient::InternalServerError) do
sleep 5