The code powering m.abunchtell.com https://m.abunchtell.com
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

12 行
266 B

  1. # frozen_string_literal: true
  2. class HubPingWorker
  3. include Sidekiq::Worker
  4. include RoutingHelper
  5. def perform(account_id)
  6. account = Account.find(account_id)
  7. account.ping!(account_url(account, format: 'atom'), [Rails.configuration.x.hub_url])
  8. end
  9. end