method

parse_properties

rails latest stable - Class: ActiveRecord::Encryption::MessagePackMessageSerializer

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

parse_properties(headers, level)
private

No documentation available.

# File activerecord/lib/active_record/encryption/message_pack_message_serializer.rb, line 67
        def parse_properties(headers, level)
          Properties.new.tap do |properties|
            headers&.each do |key, value|
              properties[key] = value.is_a?(Hash) ? hash_to_message(value, level + 1) : value
            end
          end
        end