Ethon::Easy cookies hacks modified to reflect the new version of Typhoeus

This commit is contained in:
erwanlr
2013-04-11 12:56:40 +02:00
parent dc109f12d8
commit 3245063a74
3 changed files with 5 additions and 5 deletions

View File

@@ -50,11 +50,11 @@ end
module Ethon
class Easy
module Options
def cookie_jar=(value)
def cookiejar=(value)
Curl.set_option(:cookiejar, value_for(value, :string), handle)
end
def cookie_file=(value)
def cookiefile=(value)
Curl.set_option(:cookiefile, value_for(value, :string), handle)
end
end