Sha256: fb6d181fa6d40b1ade3161535d07e9b9973bb2da095c6082bd0f3c6bce1325b3

Contents?: true

Size: 121 Bytes

Versions: 30

Compression:

Stored size: 121 Bytes

Contents

class WebNotifier < ActiveRecord::Observer
  observe Article

  def after_save(article)
    article.send_pings
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
typo-5.5 app/models/web_notifier.rb
typo-5.4.4 app/models/web_notifier.rb
typo-5.4.3 app/models/web_notifier.rb
typo-5.4.2 app/models/web_notifier.rb
typo-5.4.1 app/models/web_notifier.rb
typo-5.4 app/models/web_notifier.rb
typo-3.99.0 app/models/web_notifier.rb
typo-3.99.1 app/models/web_notifier.rb
typo-3.99.2 app/models/web_notifier.rb
typo-3.99.3 app/models/web_notifier.rb
typo-4.0.1 app/models/web_notifier.rb
typo-4.0.2 app/models/web_notifier.rb
typo-4.0.0 app/models/web_notifier.rb
typo-3.99.4 app/models/web_notifier.rb
typo-4.0.3 app/models/web_notifier.rb
typo-4.1.1 app/models/web_notifier.rb
typo-5.0.2 app/models/web_notifier.rb
typo-4.1 app/models/web_notifier.rb
typo-5.0.1 app/models/web_notifier.rb
typo-5.0.3.98.1 app/models/web_notifier.rb