Sha256: c117eccf5c91fc4b295f5e71569cf2c407c334b0d5e4920f8f75f9daee957278
Contents?: true
Size: 296 Bytes
Versions: 2
Compression:
Stored size: 296 Bytes
Contents
module SweatShop module Serializers class MarshalSerializer < SweatShop::Serializer class << self def serialize(payload) Marshal.dump(payload) end def deserialize(payload) Marshal.load(payload) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
netinlet-sweat_shop-1.1.0 | lib/serializers/marshal_serializer.rb |
netinlet-sweat_shop-1.1.1 | lib/serializers/marshal_serializer.rb |