123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::Encryption::ExtendedDeterministicQueries::AdditionalValue

Relationships & Source Files
Inherits: Object
Defined in: activerecord/lib/active_record/encryption/extended_deterministic_queries.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(value, type) ⇒ AdditionalValue

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/extended_deterministic_queries.rb', line 135

def initialize(value, type)
  @type = type
  @value = process(value)
end

Instance Attribute Details

#type (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/extended_deterministic_queries.rb', line 133

attr_reader :value, :type

#value (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/extended_deterministic_queries.rb', line 133

attr_reader :value, :type