Class: ActiveRecord::ConnectionAdapters::CipherStashPGAdapter::MoneyDecoder
- Inherits:
-
CipherStashPG::SimpleDecoder
- Object
- CipherStashPG::SimpleDecoder
- ActiveRecord::ConnectionAdapters::CipherStashPGAdapter::MoneyDecoder
- Defined in:
- lib/active_record/connection_adapters/6.1/postgres_cipherstash_adapter.rb,
lib/active_record/connection_adapters/7.0/postgres_cipherstash_adapter.rb,
lib/active_record/connection_adapters/7.1/postgres_cipherstash_adapter.rb
Overview
:nodoc:
Constant Summary collapse
- TYPE =
OID::Money.new
Instance Method Summary collapse
Instance Method Details
#decode(value, tuple = nil, field = nil) ⇒ Object
943 944 945 |
# File 'lib/active_record/connection_adapters/6.1/postgres_cipherstash_adapter.rb', line 943 def decode(value, tuple = nil, field = nil) TYPE.deserialize(value) end |