lib/mongo/monitoring/event/topology_closed.rb in mongo-2.5.3 vs lib/mongo/monitoring/event/topology_closed.rb in mongo-2.6.0

- old
+ new

@@ -1,6 +1,6 @@ -# Copyright (C) 2016 MongoDB, Inc. +# Copyright (C) 2016-2018 MongoDB, Inc. # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # @@ -17,10 +17,10 @@ module Event # Event fired when the topology closes. # # @since 2.4.0 - class TopologyClosed + class TopologyClosed < Mongo::Event::Base # @return [ Topology ] topology The topology. attr_reader :topology # Create the event.