Sha256: 1c15d65a423d774a54b21061a9ae48ababac9befda1e9306c5728b762c82e33b

Contents?: true

Size: 250 Bytes

Versions: 7

Compression:

Stored size: 250 Bytes

Contents

# frozen_string_literal: true

gem "activesupport", ">= 7.0"

module Paquito
  module CacheEntryCoder
    def self.dump(entry)
      entry.pack
    end

    def self.load(payload)
      ::ActiveSupport::Cache::Entry.unpack(payload)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paquito-0.11.2 lib/paquito/cache_entry_coder.rb
paquito-0.11.1 lib/paquito/cache_entry_coder.rb
paquito-0.11.0 lib/paquito/cache_entry_coder.rb
paquito-0.10.0 lib/paquito/cache_entry_coder.rb
paquito-0.9.2 lib/paquito/cache_entry_coder.rb
paquito-0.9.1 lib/paquito/cache_entry_coder.rb
paquito-0.9.0 lib/paquito/cache_entry_coder.rb