lib/tijuana_client/client.rb in tijuana_client-0.2.0 vs lib/tijuana_client/client.rb in tijuana_client-0.2.1
- old
+ new
@@ -55,10 +55,10 @@
private
def extract_data_from_params(params)
if params.has_key?('data') && params['data'].present?
- return "data=#{URI::encode(params['data'])}"
+ return {'data'=> params['data']}
else
return params
end
end
end
\ No newline at end of file