method

deserialize

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: DurationSerializer
deserialize(hash) 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/duration_serializer.rb, line 12
      def deserialize(hash)
        value = hash["value"]
        parts = Arguments.deserialize(hash["parts"])
        # `parts` is originally a hash, but will have been flattened to an array by Arguments.serialize
        klass.new(value, parts.to_h)
      end
Register or log in to add new notes.