blob: 3982c286792b1c9ee6c7c308e4bbee011bc68e1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module CouchRest::Session::Utility
module_function
def marshal(data)
::Base64.encode64(Marshal.dump(data)) if data
end
def unmarshal(data)
Marshal.load(::Base64.decode64(data)) if data
end
end
|