Class: ActiveJob::Serializers::DateTimeSerializer

Inherits:
TimeObjectSerializer show all
Defined in:
activejob/lib/active_job/serializers/date_time_serializer.rb

Overview

:nodoc:

Constant Summary

Constants inherited from TimeObjectSerializer

TimeObjectSerializer::NANO_PRECISION

Instance Method Summary collapse

Methods inherited from TimeObjectSerializer

#serialize

Methods inherited from ObjectSerializer

#serialize, #serialize?

Methods included from Singleton

#duplicable?

Instance Method Details

#deserialize(hash) ⇒ Object


6
7
8
# File 'activejob/lib/active_job/serializers/date_time_serializer.rb', line 6

def deserialize(hash)
  DateTime.iso8601(hash["value"])
end