Class: ActiveRecord::ConnectionAdapters::CipherStashPG::OID::Xml

Inherits:
Type::String
  • Object
show all
Defined in:
lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/xml.rb,
lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/xml.rb,
lib/active_record/connection_adapters/7.1/cipherstash_pg/oid/xml.rb

Overview

:nodoc:

Defined Under Namespace

Classes: Data

Instance Method Summary collapse

Instance Method Details

#serialize(value) ⇒ Object



12
13
14
15
# File 'lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/xml.rb', line 12

def serialize(value)
  return unless value
  Data.new(super)
end

#typeObject



8
9
10
# File 'lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/xml.rb', line 8

def type
  :xml
end