Upload and download Ruby objects to S3 using a very convenient API. This is incredibly handy for passing objects around between consoles when, e.g., collaborating or debugging.
To set up an S3 interface, one can run
MPI = S3MPI::Interface.new("bucket", "path/in/bucket")
# Or a constant name of your choosing...
Then, assuming our credentials are set up correctly, we can store and read Ruby objects:
MPI.store({ some: "ruby", object: 5 }, "some_object")
MPI.read('some_object')