snoo 0.1.0.pre.6 → 0.1.0.pre.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/snoo.rb +2 -0
- data/lib/snoo/version.rb +1 -1
- metadata +1 -1
data/lib/snoo.rb
CHANGED
@@ -43,6 +43,8 @@ module Snoo
|
|
43
43
|
|
44
44
|
if !(options[:username].nil? && options[:password].nil?)
|
45
45
|
self.log_in options[:username], options[:password]
|
46
|
+
elsif !(options[:modhash].nil? && options[:cookies].nil?)
|
47
|
+
self.auth options[:modhash], options[:cookies]
|
46
48
|
end
|
47
49
|
end
|
48
50
|
end
|
data/lib/snoo/version.rb
CHANGED