class ActiveRecord::Encryption::ExtendedDeterministicQueries::AdditionalValue
Attributes
type[R]
value[R]
Public Class Methods
new(value, type)
click to toggle source
# File lib/active_record/encryption/extended_deterministic_queries.rb, line 137 def initialize(value, type) @type = type @value = process(value) end
Private Instance Methods
process(value)
click to toggle source
# File lib/active_record/encryption/extended_deterministic_queries.rb, line 143 def process(value) type.serialize(value) end