Class: Influxdb::Api::Namespaces::Users
- Inherits:
-
WithDatabase
- Object
- Base
- WithDatabase
- Influxdb::Api::Namespaces::Users
- Defined in:
- lib/influxdb/api/namespaces/users.rb
Instance Attribute Summary
Attributes inherited from WithDatabase
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from WithDatabase
Methods inherited from Base
#all, #create, #delete, #initialize
Constructor Details
This class inherits a constructor from Influxdb::Api::Namespaces::WithDatabase
Instance Method Details
#find(name) ⇒ Object
7 8 9 |
# File 'lib/influxdb/api/namespaces/users.rb', line 7 def find(name) perform_get(resource_path(name)) end |
#update(name, attributes) ⇒ Object
11 12 13 14 |
# File 'lib/influxdb/api/namespaces/users.rb', line 11 def update(name, attributes) perform_post(resource_path(name), {}, attributes) true end |