lib/kvmultiplex/providers/s3.rb in kvmultiplex-s3-0.1.3 vs lib/kvmultiplex/providers/s3.rb in kvmultiplex-s3-0.1.4
- old
+ new
@@ -26,10 +26,10 @@
object = locate_object(subkey)
object.exists? ? JSON.parse(object.get.body.read) : nil
end
def set(subkey, _full_key, value)
- locate_object(subkey).put(body: JSON.generate(value))
+ locate_object(subkey).put(body: value.to_json)
end
private
def locate_object(subkey)