Sha256: fc85a782a16d9ebbcfa7ff43d4a0ad253195f08b5995b4d8474e74f4ea80d92e
Contents?: true
Size: 362 Bytes
Versions: 17
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true module ActiveJob module Serializers class SymbolSerializer < ObjectSerializer # :nodoc: def serialize(argument) super("value" => argument.to_s) end def deserialize(argument) argument["value"].to_sym end private def klass Symbol end end end end
Version data entries
17 entries across 17 versions & 4 rubygems