Module: ElasticWeb::Client::Databases::Users

Included in:
ElasticWeb::Client::Databases
Defined in:
lib/elasticweb/client/databases/users.rb

Instance Method Summary collapse

Instance Method Details

#create_database_user(account_id, options) ⇒ Object



13
14
15
# File 'lib/elasticweb/client/databases/users.rb', line 13

def create_database_user(, options)
  post("/database_user/entry/#{}", options)
end

#database_user_info(account_id, db_user_name) ⇒ Object



9
10
11
# File 'lib/elasticweb/client/databases/users.rb', line 9

def (, db_user_name)
  get("/database_user/entry/#{}/#{db_user_name}")
end

#databases_users(account_id) ⇒ Object



5
6
7
# File 'lib/elasticweb/client/databases/users.rb', line 5

def databases_users()
  get("/database_user/list/#{}")
end

#delete_database_user(account_id, db_user_name) ⇒ Object



21
22
23
# File 'lib/elasticweb/client/databases/users.rb', line 21

def delete_database_user(, db_user_name)
  delete("/database_user/entry/#{}/#{db_user_name}")
end

#update_database_user(account_id, db_user_name, options) ⇒ Object



17
18
19
# File 'lib/elasticweb/client/databases/users.rb', line 17

def update_database_user(, db_user_name, options)
  patch("/database_user/entry/#{}/#{db_user_name}", options)
end