Method: Mongo::Monitoring::Event::TopologyChanged#initialize
- Defined in:
- lib/mongo/monitoring/event/topology_changed.rb
#initialize(previous_topology, new_topology) ⇒ TopologyChanged
Create the event.
42 43 44 45 |
# File 'lib/mongo/monitoring/event/topology_changed.rb', line 42 def initialize(previous_topology, new_topology) @previous_topology = previous_topology @new_topology = new_topology end |