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-1.3.8 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.3.7 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.3.6 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.3.5 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.3.4 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.3.3 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.3.2 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.3.1 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.3.0 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.2.2 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.2.1 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.2.0 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.1.2 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.1.1 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.1.0 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.0.2 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.0.1 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-1.0.0 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.32 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.9.31 lib/patronus_fati/data_observers/probe_observer.rb