@@ -48,6 +48,7 @@ class Client
4848 :min_pool_size ,
4949 :monitoring ,
5050 :password ,
51+ :platform ,
5152 :read ,
5253 :read_retry_interval ,
5354 :replica_set ,
@@ -200,10 +201,10 @@ def hash
200201 # certification authority certifications used to validate certs passed from the
201202 # other end of the connection. One of :ssl_ca_cert, :ssl_ca_cert_string or
202203 # :ssl_ca_cert_object (in order of priority) is required for :ssl_verify.
203- # @option options [ Array<OpenSSL::X509::Certificate> ] :ssl_ca_cert_object An array of OpenSSL::X509::Certificate
204- # reprenting the certification authority certifications used to validate certs passed from the
205- # other end of the connection. One of :ssl_ca_cert, :ssl_ca_cert_string or
206- # :ssl_ca_cert_object (in order of priority) is required for :ssl_verify.
204+ # @option options [ Array<OpenSSL::X509::Certificate> ] :ssl_ca_cert_object An array of
205+ # OpenSSL::X509::Certificate representing the certification authority certifications used
206+ # to validate certs passed from the other end of the connection. One of :ssl_ca_cert,
207+ # :ssl_ca_cert_string or : ssl_ca_cert_object (in order of priority) is required for :ssl_verify.
207208 # @option options [ Float ] :socket_timeout The timeout, in seconds, to
208209 # execute operations on a socket.
209210 # @option options [ String ] :user The user name.
@@ -222,6 +223,8 @@ def hash
222223 # for documents. Must respond to #generate.
223224 # @option options [ String, Symbol ] :app_name Application name that is printed to the
224225 # mongod logs upon establishing a connection in server versions >= 3.4.
226+ # @option options [ String ] :platform Platform information to include in the
227+ # metadata printed to the mongod logs upon establishing a connection in server versions >= 3.4.
225228 #
226229 # @since 2.0.0
227230 def initialize ( addresses_or_uri , options = Options ::Redacted . new )
0 commit comments