Class: Influxdb::Api::Namespaces::Databases

Inherits:
Base
  • Object
show all
Defined in:
lib/influxdb/api/namespaces/databases.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#all, #initialize

Constructor Details

This class inherits a constructor from Influxdb::Api::Namespaces::Base

Instance Method Details

#create(name) ⇒ Object



7
8
9
# File 'lib/influxdb/api/namespaces/databases.rb', line 7

def create(name)
  super(name: name)
end

#delete(*_) ⇒ Object



11
12
13
# File 'lib/influxdb/api/namespaces/databases.rb', line 11

def delete(*_)
  return_false_if_doesnt_exist('Database'){ super }
end