module Resque::Mailer::Serializers::PassThruSerializer
Simple serializer for Resque
arguments New serializers need only implement the self.serialize(*args) and self.deserialize(data)
-
self.serialize(*args) should return the arguments serialized as an object
-
self.deserialize(data) should take the serialized object as its only argument and return the array of arguments
Public Instance Methods
deserialize(data)
click to toggle source
# File lib/resque_mailer/serializers/pass_thru_serializer.rb, line 17 def deserialize(data) data end
serialize(*args)
click to toggle source
# File lib/resque_mailer/serializers/pass_thru_serializer.rb, line 13 def serialize(*args) args end