class ActiveJob::Serializers::DurationSerializer

def serialize(duration)

:nodoc:
def serialize(duration)
  super("value" => duration.value, "parts" => Arguments.serialize(duration.parts))
end