Sha256: 67a16e7ddfb328416ec70403e8abf10aae5c0a04138aa91336b2b90cddc58170
Contents?: true
Size: 345 Bytes
Versions: 15
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true module AdvancedSneakersActiveJob CONTENT_TYPE = 'application/vnd.activejob+json' end Sneakers::ContentType.register( content_type: AdvancedSneakersActiveJob::CONTENT_TYPE, deserializer: ->(payload) { ActiveSupport::JSON.decode(payload) }, serializer: ->(payload) { ActiveSupport::JSON.encode(payload) } )
Version data entries
15 entries across 15 versions & 1 rubygems