Class: Rack::InfluxDB::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/influxdb/configuration.rb

Overview

The main configuration for the gem.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#fieldsObject

Returns the value of attribute fields.



7
8
9
# File 'lib/rack/influxdb/configuration.rb', line 7

def fields
  @fields
end

#handle_errorObject

Returns the value of attribute handle_error.



7
8
9
# File 'lib/rack/influxdb/configuration.rb', line 7

def handle_error
  @handle_error
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/rack/influxdb/configuration.rb', line 7

def name
  @name
end

#optionsObject

Returns the value of attribute options.



7
8
9
# File 'lib/rack/influxdb/configuration.rb', line 7

def options
  @options
end

#tagsObject

Returns the value of attribute tags.



7
8
9
# File 'lib/rack/influxdb/configuration.rb', line 7

def tags
  @tags
end

#tokenObject

Returns the value of attribute token.



7
8
9
# File 'lib/rack/influxdb/configuration.rb', line 7

def token
  @token
end

#urlObject

Returns the value of attribute url.



7
8
9
# File 'lib/rack/influxdb/configuration.rb', line 7

def url
  @url
end

#write_optionsObject

Returns the value of attribute write_options.



7
8
9
# File 'lib/rack/influxdb/configuration.rb', line 7

def write_options
  @write_options
end