class OFX::Data::Serialization::Registry::Entry
Attributes
context_name[R]
ofx_type[R]
serializer[R]
Public Class Methods
new(serializer, ofx_type, context_name = nil)
click to toggle source
# File lib/ofx/data/serialization/registry/entry.rb, line 8 def initialize(serializer, ofx_type, context_name = nil) @serializer = serializer @ofx_type = ofx_type @context_name = context_name end
Public Instance Methods
match?(ofx_type, context_name = nil)
click to toggle source
# File lib/ofx/data/serialization/registry/entry.rb, line 14 def match?(ofx_type, context_name = nil) self.ofx_type == ofx_type && self.context_name == context_name end