Class: Gummi::Configuration
- Inherits:
-
Object
- Object
- Gummi::Configuration
- Defined in:
- lib/gummi/configuration.rb
Instance Method Summary collapse
Instance Method Details
#default_hosts ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/gummi/configuration.rb', line 23 def default_hosts case Gummi.env when "production" then "elasticsearch.service.consul:9200" when "staging" then "elasticsearch.service.consul:9200" when "development" then "localhost:9200" when "test" then "localhost:9200" end end |