Class: ActiveJob::Serializers::TimeWithZoneSerializer
- Inherits:
-
TimeObjectSerializer
- Object
- ObjectSerializer
- TimeObjectSerializer
- ActiveJob::Serializers::TimeWithZoneSerializer
- Defined in:
- lib/active_job/serializers/time_with_zone_serializer.rb
Overview
:nodoc:
Constant Summary
Constants inherited from TimeObjectSerializer
ActiveJob::Serializers::TimeObjectSerializer::NANO_PRECISION
Instance Method Summary collapse
Methods inherited from TimeObjectSerializer
Methods inherited from ObjectSerializer
Instance Method Details
#deserialize(hash) ⇒ Object
6 7 8 |
# File 'lib/active_job/serializers/time_with_zone_serializer.rb', line 6 def deserialize(hash) Time.iso8601(hash["value"]).in_time_zone end |