thedrummeraki/tanoshimu

View on GitHub
app/jobs/sync/shows/crawl_from_kitsu_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true
module Sync
  module Shows
    class CrawlFromKitsuJob < TrackableJob
      queue_as :sync

      def perform(from, til)
        ::Shows::Kitsu::Sync::Crawl.perform(years: (from..til))
      end
    end
  end
end