Exception: OFX::Error::UnsupportedVersion

Inherits:
OFX::Error
  • Object
show all
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

Instance Method Summary collapse

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

#versionObject (readonly)

Returns the value of attribute version.



7
8
9
# File 'lib/ofx_kit/errors/unsupported_version.rb', line 7

def version
  @version
end