Class: OFX::Serializer

Inherits:
Object
  • Object
show all
Defined in:
lib/ofx/serializer.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.get(version) ⇒ Object



22
23
24
25
26
27
28
29
# File 'lib/ofx/serializer.rb', line 22

def self.get(version)
    case version
        when OFX::Version.new("1.0.2"), OFX::Version.new("1.0.3")
            return OFX::OFX102::Serializer.new
        else
            raise NotImplementedError
    end
end

Instance Method Details

#from_http_request_body(document) ⇒ Object

Raises:

  • (NotImplementedError)


35
36
37
# File 'lib/ofx/serializer.rb', line 35

def from_http_request_body(document)
    raise NotImplementedError
end

#to_http_post_body(document) ⇒ Object

Raises:

  • (NotImplementedError)


31
32
33
# File 'lib/ofx/serializer.rb', line 31

def to_http_post_body(document)
    raise NotImplementedError
end