mimeo 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mimeo/version.rb +1 -1
- data/lib/mimeo.rb +5 -3
- metadata +1 -1
data/lib/mimeo/version.rb
CHANGED
data/lib/mimeo.rb
CHANGED
@@ -24,13 +24,15 @@ module Mimeo
|
|
24
24
|
|
25
25
|
module InstanceMethods
|
26
26
|
def remove_from_redis
|
27
|
-
ohm_instance
|
27
|
+
r = ohm_instance
|
28
|
+
r.delete
|
28
29
|
return true
|
29
30
|
end
|
30
31
|
|
31
32
|
def save_to_redis
|
32
|
-
|
33
|
-
|
33
|
+
r = ohm_instance
|
34
|
+
populate r
|
35
|
+
r.save
|
34
36
|
return true
|
35
37
|
end
|
36
38
|
|