Class: Influxdb::Api::Namespaces::WithDatabase
- Defined in:
- lib/influxdb/api/namespaces/with_database.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#database_name ⇒ Object
readonly
Returns the value of attribute database_name.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(client, database_name) ⇒ WithDatabase
constructor
A new instance of WithDatabase.
Methods inherited from Base
Constructor Details
#initialize(client, database_name) ⇒ WithDatabase
Returns a new instance of WithDatabase.
7 8 9 10 |
# File 'lib/influxdb/api/namespaces/with_database.rb', line 7 def initialize(client, database_name) @client = client @database_name = database_name end |
Instance Attribute Details
#database_name ⇒ Object (readonly)
Returns the value of attribute database_name.
5 6 7 |
# File 'lib/influxdb/api/namespaces/with_database.rb', line 5 def database_name @database_name end |