slovensko-digital/harvester.ecosystem

View on GitHub
app/jobs/itms/sync_payment_claim_job.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method find_or_create_declared_expenses_by_json has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def find_or_create_declared_expenses_by_json(json_list, scope, downloader)
    return [] if json_list.blank?

    json_list.map do |json|
      de = scope.find_or_create_by!(itms_id: json['id'])
Severity: Minor
Found in app/jobs/itms/sync_payment_claim_job.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status