Class: PingerJob

Inherits:
ApplicationJob show all
Includes:
PostsHelper
Defined in:
app/jobs/pinger_job.rb

Overview

Not used for now

Instance Method Summary collapse

Methods included from PostsHelper

#permalink_url, #post_description_short, #post_descritpion_has_image?, #post_teaser_for, #smart_post_path, #smart_post_url, #text_short, #typography

Instance Method Details

#perform(post) ⇒ Object


8
9
10
# File 'app/jobs/pinger_job.rb', line 8

def perform(post)
  Pinger.ping post.title, smart_post_url(post)
end