Module: ElasticAPM::Config::Options::ClassMethods Private

Defined in:
lib/elastic_apm/config/options.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#option(key, **args) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



104
105
106
# File 'lib/elastic_apm/config/options.rb', line 104

def option(key, **args)
  schema[key] = args
end

#schemaObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



100
101
102
# File 'lib/elastic_apm/config/options.rb', line 100

def schema
  @schema ||= {}
end