Module: Elastic::Railties::ConfigurationExtensions

Included in:
Configuration
Defined in:
lib/elastic/railties/configuration_extensions.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#active_job_queueObject

Returns the value of attribute active_job_queue.



8
9
10
# File 'lib/elastic/railties/configuration_extensions.rb', line 8

def active_job_queue
  @active_job_queue
end

#indices_pathObject

Returns the value of attribute indices_path.



8
9
10
# File 'lib/elastic/railties/configuration_extensions.rb', line 8

def indices_path
  @indices_path
end

Class Method Details

.included(_klass) ⇒ Object



3
4
5
6
# File 'lib/elastic/railties/configuration_extensions.rb', line 3

def self.included(_klass)
  _klass::DEFAULTS[:active_job_queue] = :default
  _klass::DEFAULTS[:indices_path] = 'app/indices'
end