Sha256: f1ec33866d8682780a25fe93332258ad92f162f8741a1760b61c2d42de4ac417
Contents?: true
Size: 1.27 KB
Versions: 3
Compression:
Stored size: 1.27 KB
Contents
# Copyright © 2007 Chris Guidry <chrisguidry@gmail.com> # # This file is part of OFX for Ruby. # # OFX for Ruby is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # OFX for Ruby is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. require File.dirname(__FILE__) + '/1.0.2/serializer' module OFX class Serializer 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 def to_http_post_body(document) raise NotImplementedError end def from_http_request_body(document) raise NotImplementedError end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ofx_for_ruby-0.1.5 | lib/ofx/serializer.rb |
ofx_for_ruby-0.1.4 | lib/ofx/serializer.rb |
ofx_for_ruby-0.1.3 | lib/ofx/serializer.rb |