Class: Quilt::Configuration
- Inherits:
-
ActiveSupport::OrderedOptions
- Object
- ActiveSupport::OrderedOptions
- Quilt::Configuration
- Defined in:
- lib/quilt_rails/configuration.rb
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #mount? ⇒ Boolean
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/quilt_rails/configuration.rb', line 7 def initialize super react_server_ip = ENV["REACT_SERVER_IP"] || "localhost" react_server_port = ENV["REACT_SERVER_PORT"] || 8081 self.react_server_host = "#{react_server_ip}:#{react_server_port}" self.react_server_protocol = ENV["REACT_SERVER_PROTOCOL"] || "http" self.logger = ::Logger.new($stdout) self.mount = true self.allow_integration_test = false end |
Instance Method Details
#mount? ⇒ Boolean
19 20 21 |
# File 'lib/quilt_rails/configuration.rb', line 19 def mount? mount end |