Sha256: 9d7f2e3a75ccea7f490230f2637561723827e3c8b5c26688ffa1f409d74fc850

Contents?: true

Size: 255 Bytes

Versions: 65

Compression:

Stored size: 255 Bytes

Contents

module PatronusFati::DataObservers
  class ProbeObserver
    include DataMapper::Observer

    observe PatronusFati::DataModels::Probe

    after :save do
      PatronusFati.event_handler.event(:client, :changed, self.client.full_state)
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
patronus_fati-0.9.30 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.24 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.23 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.22 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.21 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.20 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.19 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.18 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.17 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.16 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.15 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.14 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.13 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.12 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.11 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.10 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.9 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.8 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.7 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.6 lib/patronus_fati/data_observers/probe_observer.rb