Skip to content

Commit

Permalink
Merge branch 'master' into jb/bank-428-create-unknown-operation-detai…
Browse files Browse the repository at this point in the history
…ls-object
  • Loading branch information
joanabertoldi authored Dec 3, 2024
2 parents d9cb64a + 6535df5 commit a26bdca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cfonb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = 'cfonb'
s.version = '1.1.0'
s.version = '1.1.1'
s.required_ruby_version = '>= 3.2'
s.summary = 'CFONB parser'
s.description = 'An easy to use CFONB format parser'
Expand Down
2 changes: 1 addition & 1 deletion lib/cfonb/operation_details/ibe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class IBE < Base

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

CFONB::OperationDetails.register('IBE', self)
Expand Down
2 changes: 1 addition & 1 deletion lib/cfonb/operation_details/ipy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class IPY < Base

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

CFONB::OperationDetails.register('IPY', self)
Expand Down

0 comments on commit a26bdca

Please sign in to comment.