class MT940::AccountIdentification
25
Constants
- CONTENT
Attributes
Public Instance Methods
Source
# File lib/mt940.rb, line 101 def method_missing(method, *args, &) @fail_over_implementation ||= Account.new(@modifier, @content) value = @fail_over_implementation.send(method) warn '[DEPRECATION]:' warn "You used '#{method}' on the Account/AccountIdentification class" warn 'This field is not part of the MT940 specification but implementation specific' warn "Please use the 'account_identifier' and parse yourself." value end
fail over to the old Account
class
Source
# File lib/mt940.rb, line 95 def parse_content(content) content.match(CONTENT) @account_identifier = ::Regexp.last_match(1) end