method

headers_to_json

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: MessageSerializer
headers_to_json(headers) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/encryption/message_serializer.rb, line 67
        def headers_to_json(headers)
          headers.transform_values do |value|
            value.is_a?(ActiveRecord::Encryption::Message) ? message_to_json(value) : encode_if_needed(value)
          end
        end
Register or log in to add new notes.