Class: ActiveRecord::Encryption::ExtendedDeterministicQueries::AdditionalValue
- Inherits:
-
Object
- Object
- ActiveRecord::Encryption::ExtendedDeterministicQueries::AdditionalValue
- Defined in:
- lib/active_record/encryption/extended_deterministic_queries.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, type) ⇒ AdditionalValue
constructor
A new instance of AdditionalValue.
Constructor Details
#initialize(value, type) ⇒ AdditionalValue
Returns a new instance of AdditionalValue.
136 137 138 139 |
# File 'lib/active_record/encryption/extended_deterministic_queries.rb', line 136 def initialize(value, type) @type = type @value = process(value) end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
134 135 136 |
# File 'lib/active_record/encryption/extended_deterministic_queries.rb', line 134 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
134 135 136 |
# File 'lib/active_record/encryption/extended_deterministic_queries.rb', line 134 def value @value end |