Module: Fluent::DataEntryPreferenceConfigurable::ClassMethods

Defined in:
lib/flydata/fluent-plugins/flydata_plugin_ext/preference.rb

Instance Method Summary collapse

Instance Method Details

#custom_config_param(key, type, option = {}) ⇒ Object



52
53
54
55
# File 'lib/flydata/fluent-plugins/flydata_plugin_ext/preference.rb', line 52

def custom_config_param(key, type, option = {})
  conf = class_variable_get(:@@supported_custom_confs)
  conf[type.to_sym][key.to_sym] = option
end