recurring_job('1m') do
  listing = JSON.parse(Net::HTTP.get(URI('https://www.reddit.com/r/todayilearned.json?limit=1')))
  title = listing['data']['children'][0]['data']['title']
  {reddit_headline: {text: title}}
end

recurring_job('1m') do
  listing = JSON.parse(Net::HTTP.get(URI('https://www.reddit.com/r/todayilearned.json?limit=2')))
  title = listing['data']['children'][1]['data']['title']
  {reddit_headline: {text: title}}
end

Update reddit job to skip the sticky
Update reddit job to skip the sticky
