Exception: OFX::Error::UnsupportedVersion
- Inherits:
-
OFX::Error
- Object
- StandardError
- OFX::Error
- OFX::Error::UnsupportedVersion
- Defined in:
- lib/ofx_kit/errors/unsupported_version.rb
Overview
Raised when the OFX version declared in the header is not supported.
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version) ⇒ UnsupportedVersion
constructor
A new instance of UnsupportedVersion.
Constructor Details
#initialize(version) ⇒ UnsupportedVersion
Returns a new instance of UnsupportedVersion.
9 10 11 12 |
# File 'lib/ofx_kit/errors/unsupported_version.rb', line 9 def initialize(version) @version = version super("Unsupported OFX version: #{version}") end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
7 8 9 |
# File 'lib/ofx_kit/errors/unsupported_version.rb', line 7 def version @version end |