lib/moped/session.rb in moped-2.0.0.beta3 vs lib/moped/session.rb in moped-2.0.0.beta4

- old
+ new

@@ -213,23 +213,33 @@ # Setup validation of allowed retry interval options. (Any numeric) # # @since 2.0.0 option(:retry_interval).allow(Optionable.any(Numeric)) - # Setup validation of allowed reap interval options. (Any numeric) + # Setup validation of allowed refresh interval options. (Any numeric) # # @since 2.0.0 - option(:reap_interval).allow(Optionable.any(Numeric)) + option(:refresh_interval).allow(Optionable.any(Numeric)) + # Setup validation of allowed down interval options. (Any numeric) + # + # @since 2.0.0 + option(:down_interval).allow(Optionable.any(Numeric)) + # Setup validation of allowed ssl options. (Any boolean) # # @since 2.0.0 option(:ssl).allow(true, false) # Setup validation of allowed timeout options. (Any numeric) # # @since 2.0.0 option(:timeout).allow(Optionable.any(Numeric)) + + # Pass an object that responds to instrument as an instrumenter. + # + # @since 2.0.0 + option(:instrumenter).allow(Optionable.any(Object)) # Initialize a new database session. # # @example Initialize a new session. # Session.new([ "localhost:27017" ])