module ElasticWeb::Client::Accounts
Public Instance Methods
accounts()
click to toggle source
# File lib/elasticweb/client/accounts.rb, line 8 def accounts get('/account/list') end
create_account(options)
click to toggle source
# File lib/elasticweb/client/accounts.rb, line 12 def create_account(options) post('/account/entry', options) end
delete_account(id)
click to toggle source
# File lib/elasticweb/client/accounts.rb, line 20 def delete_account(id) delete("/account/entry/#{id}") end
update_account(id, options)
click to toggle source
# File lib/elasticweb/client/accounts.rb, line 16 def update_account(id, options) patch("/account/entry/#{id}", options) end