module OFX::Data::Serialization::OFX102
Constants
- SERIALIZER_CLASSES
Public Class Methods
builder()
click to toggle source
# File lib/ofx/data/serialization/ofx102.rb, line 26 def self.builder Builder::XmlMarkup.new end
registry()
click to toggle source
# File lib/ofx/data/serialization/ofx102.rb, line 18 def self.registry Registry.build { |r| SERIALIZER_CLASSES.each do |klass| klass.register_with(r) end } end
serialize(object)
click to toggle source
# File lib/ofx/data/serialization/ofx102.rb, line 30 def self.serialize(object) output = builder registry.serializer_for(object.ofx_type).serialize(object, output) output.target! end