lib/egp_rates/edbe.rb
Showing 2 of 2 total issues
Method parse
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
def parse(raw_data) raw_data.each_with_object(sell: {}, buy: {}) do |row, result| next unless row.name[3] == 'B' currency = row.name[0..2].to_sym action = row.name[4..-1].to_sym
- Read upRead up