simple_worker 2.0.0.beta.8 → 2.0.0.beta.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_worker/api.rb +1 -1
- metadata +1 -1
data/lib/simple_worker/api.rb
CHANGED
@@ -93,7 +93,7 @@ module SimpleWorker
|
|
93
93
|
@logger.debug "token = "+ token.inspect
|
94
94
|
begin
|
95
95
|
url = url(method) + "?oauth=" + token
|
96
|
-
@logger.
|
96
|
+
@logger.debug 'post url=' + url
|
97
97
|
parse_response(RestClient.post(url, add_params(method, params).to_json, headers.merge!({:content_type=>'application/json', :accept => "json"})), options)
|
98
98
|
rescue RestClient::Exception => ex
|
99
99
|
@logger.warn("Exception in post! #{ex.message}")
|