Class: CFONB::OperationDetails::IPY

Inherits:
Base
  • Object
show all
Defined in:
lib/cfonb/operation_details/ipy.rb

Constant Summary collapse

ATTRIBUTES =
%i[debtor_identifier debtor_identifier_type].freeze

Class Method Summary collapse

Methods inherited from Base

inherited

Class Method Details

.apply(details, line) ⇒ Object



8
9
10
11
# File 'lib/cfonb/operation_details/ipy.rb', line 8

def self.apply(details, line)
  details.debtor_identifier = line.detail[0..34].strip
  details.debtor_identifier_type = line.detail[35..-1]&.strip
end