Skip to content

Commit 971a920

Browse files
committed
Ensure open-uri require-d for opening URL
1 parent f7e566e commit 971a920

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/jobs/headline_scraper_job.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'open-uri'
2+
13
class HeadlineScraperJob < ActiveJob::Base
24
queue_as :default
35

0 commit comments

Comments
 (0)