method

serialize

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: TimeWithZoneSerializer
serialize(time_with_zone) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/serializers/time_with_zone_serializer.rb, line 8
      def serialize(time_with_zone)
        super(
          "value" => time_with_zone.iso8601(NANO_PRECISION),
          "time_zone" => time_with_zone.time_zone.tzinfo.name
        )
      end
Register or log in to add new notes.