FlyingV is a simple Ruby gem for interacting with OpenKeyValue, an open and free-for-all RESTful key-value storage.
sudo gem install flyingv
None. At the moment
FlyingV.post("123somekey", "And this is some value, 64kb being its length limit") => #<Net::HTTPOK 200 OK readbody=true> FlyingV.get("123somekey") => "And this is some value, 64kb being its length limit"
It automagically (de-)serializes Arrays and Hashes to/from JSON if it’s possible.
FlyingV.post("123somekey", {"flyingv" => "awesome", "limits" => 65536}) => #<Net::HTTPOK 200 OK readbody=true> FlyingV.get("123somekey") => {"limits"=>65536, "flyingv"=>"awesome"}
Of course if you don’t want that to happen, just pass a string as value.
Copyright © 2010 Tomasz Stachewicz. See LICENSE for details.