Class: Mongo::Crypt::RewrapManyDataKeyResult

Inherits:
Object
  • Object
show all
Defined in:
lib/mongo/crypt/rewrap_many_data_key_result.rb

Overview

Represent result of the rewrap many data ke operation.

API:

  • semiprivate

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bulk_write_result) ⇒ RewrapManyDataKeyResult

Returns a new instance of RewrapManyDataKeyResult.

Parameters:

  • The result of the bulk write operation used to update the key vault collection with rewrapped data keys.

API:

  • semiprivate



32
33
34
# File 'lib/mongo/crypt/rewrap_many_data_key_result.rb', line 32

def initialize(bulk_write_result)
  @bulk_write_result = bulk_write_result
end

Instance Attribute Details

#bulk_write_resultObject (readonly)

API:

  • semiprivate



27
28
29
# File 'lib/mongo/crypt/rewrap_many_data_key_result.rb', line 27

def bulk_write_result
  @bulk_write_result
end