Sha256: f1d391fe9fdb9b049de8ad194673c8cc62d2c2ca355680ba52cd7c0204c622ef
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
# need custom class due to # https://github.com/rails/rails/issues/47185 module Mailkick class Serializer def self.dump(value) JSON.dump(value) end def self.load(value) JSON.load(value) rescue JSON::ParserError Marshal.load(value) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mailkick-1.1.1 | lib/mailkick/serializer.rb |