class ActiveJob::Serializers::DurationSerializer
:nodoc:
def deserialize(hash)
def deserialize(hash) value = hash["value"] parts = Arguments.deserialize(hash["parts"]) klass.new(value, parts) end
def klass
def klass ActiveSupport::Duration end
def serialize(duration)
def serialize(duration) super("value" => duration.value, "parts" => Arguments.serialize(duration.parts)) end