Class: Rack::InfluxDB::Configuration
- Inherits:
-
Object
- Object
- Rack::InfluxDB::Configuration
- Defined in:
- lib/rack/influxdb/configuration.rb
Overview
The main configuration for the gem.
Instance Attribute Summary collapse
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#handle_error ⇒ Object
Returns the value of attribute handle_error.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#token ⇒ Object
Returns the value of attribute token.
-
#url ⇒ Object
Returns the value of attribute url.
-
#write_options ⇒ Object
Returns the value of attribute write_options.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 |
# File 'lib/rack/influxdb/configuration.rb', line 10 def initialize set_defaults end |
Instance Attribute Details
#fields ⇒ Object
Returns the value of attribute fields.
7 8 9 |
# File 'lib/rack/influxdb/configuration.rb', line 7 def fields @fields end |
#handle_error ⇒ Object
Returns the value of attribute handle_error.
7 8 9 |
# File 'lib/rack/influxdb/configuration.rb', line 7 def handle_error @handle_error end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/rack/influxdb/configuration.rb', line 7 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/rack/influxdb/configuration.rb', line 7 def @options end |
#tags ⇒ Object
Returns the value of attribute tags.
7 8 9 |
# File 'lib/rack/influxdb/configuration.rb', line 7 def @tags end |
#token ⇒ Object
Returns the value of attribute token.
7 8 9 |
# File 'lib/rack/influxdb/configuration.rb', line 7 def token @token end |
#url ⇒ Object
Returns the value of attribute url.
7 8 9 |
# File 'lib/rack/influxdb/configuration.rb', line 7 def url @url end |
#write_options ⇒ Object
Returns the value of attribute write_options.
7 8 9 |
# File 'lib/rack/influxdb/configuration.rb', line 7 def @write_options end |