Method: Moped::Database#logout

Defined in:
lib/moped/database.rb

#logoutObject

Log out from the current database.

Examples:

Logout from the current database.

session.logout

Since:

  • 1.0.0



124
125
126
# File 'lib/moped/database.rb', line 124

def logout
  cluster.delete_credential(name)
end