struct ActiveSupport::MessageEncryptor::NullSerializer

Overview

Passes the payload through untouched, like Rails' MessageEncryptor::NullSerializer.

Useful for a message that is plain text on the Ruby side as well, and for inspecting what a Rails-written envelope really holds.

Included Modules

Defined in:

active_support/message_encryptor.cr

Constructors

Instance Method Summary

Instance methods inherited from module ActiveSupport::MessageEncryptor::Serializer

dump(value : String) : Bytes dump, load(data : Bytes) : String load

Constructor Detail

def self.new #

Instance Method Detail

def dump(value : String) : Bytes #

def initialize #

def load(data : Bytes) : String #