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.8.4 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.8.3 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.8.2 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.8.1 lib/patronus_fati/data_observers/probe_observer.rb
patronus_fati-0.8.0 lib/patronus_fati/data_observers/probe_observer.rb