Sha256: 17ca51afca5ea8ad829735cd8e776e9e7329a3cfbc55bf19fa661580bccd590a
Contents?: true
Size: 947 Bytes
Versions: 5
Compression:
Stored size: 947 Bytes
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/>. module OFX class TransactionUniqueIdentifier def initialize @timestamp = DateTime.now end def to_s @timestamp.strftime('%Y%m%d%H%M%S') end end end
Version data entries
5 entries across 5 versions & 1 rubygems