Class: CFONB::OperationDetails::IBE

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

Constant Summary collapse

ATTRIBUTES =
%i[creditor_identifier creditor_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/ibe.rb', line 8

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