Sha256: b93963c8dff6596bd05341857be6f3b6c6c145957b50d5511b97fa5574d111c1
Contents?: true
Size: 434 Bytes
Versions: 24
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module SidekiqUniqueJobs # Normalizes hashes by dumping them to json and loading them from json # # @author Mikael Henriksson <mikael@zoolutions.se> module Normalizer extend SidekiqUniqueJobs::JSON # Changes hash to a json compatible hash # @param [Hash] args # @return [Hash] a json compatible hash def self.jsonify(args) load_json(dump_json(args)) end end end
Version data entries
24 entries across 24 versions & 1 rubygems