Sha256: a1fa8467b3ed282289d0ae45137ac5d03f4d7a0bbaa208f9b7fadde74e2413f6

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

class RePipelineActivatedObserver < ActiveRecord::Observer

  def after_update(record)        
    RePipelineActivated.reset_cache(record.code)
  end

  def after_create(record)    
    RePipelineActivated.reset_cache(record.code)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rules_engine-0.0.1 rails_generators/templates/app/models/re_pipeline_activated_observer.rb