Sha256: 7347af2522f1bbb6ffb61da1e0324c2e76126dea75f81f1a512ade9ba1be59b4

Contents?: true

Size: 125 Bytes

Versions: 7

Compression:

Stored size: 125 Bytes

Contents

module <%= class_name %>
  class ChangeListener < SyncMachine::ChangeListener
    listen_to_models :<%= subject %>
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
sync_machine-1.4.0 lib/rails/generators/templates/change_listener.rb
sync_machine-1.3.0 lib/rails/generators/templates/change_listener.rb
sync_machine-1.2.0 lib/rails/generators/templates/change_listener.rb
sync_machine-1.1.1 lib/rails/generators/templates/change_listener.rb
sync_machine-1.1.0 lib/rails/generators/templates/change_listener.rb
sync_machine_generator-0.8.0 lib/generators/templates/change_listener.rb
sync_machine_generator-0.1.0 lib/generators/templates/change_listener.rb