Class: OFX::FileUniqueIdentifier
- Inherits:
-
Object
- Object
- OFX::FileUniqueIdentifier
- Defined in:
- lib/ofx/file_unique_identifier.rb
Instance Method Summary collapse
-
#initialize ⇒ FileUniqueIdentifier
constructor
A new instance of FileUniqueIdentifier.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ FileUniqueIdentifier
Returns a new instance of FileUniqueIdentifier.
20 21 22 |
# File 'lib/ofx/file_unique_identifier.rb', line 20 def initialize @timestamp = DateTime.now end |
Instance Method Details
#to_s ⇒ Object
24 25 26 |
# File 'lib/ofx/file_unique_identifier.rb', line 24 def to_s @timestamp.strftime('%Y%m%d%H%M%S') end |