class ScrapePageJob < ApplicationJob
  queue_as :default

  def perform(url)
    ScrapePageUrl.new(url).call
  end
end

class ScrapePageJob < ApplicationJob
  queue_as :default

  def perform(url)
    content = ScrapePageUrl.new(url).call
    Page.create(url: url, content: content)
  end
end

Store scraped content in db
Store scraped content in db
