Method: Mongo::Crypt::Context#state

Defined in:
lib/mongo/crypt/context.rb

#stateSymbol

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the state of the mongocrypt_ctx_t

Returns:

  • The context state

API:

  • private



61
62
63
# File 'lib/mongo/crypt/context.rb', line 61

def state
  Binding.mongocrypt_ctx_state(@ctx_p)
end