Sha256: cfc335e1a99deda55bd73866644cac6a0e5f8b070dde4917193e4e407662db17
Contents?: true
Size: 421 Bytes
Versions: 2
Compression:
Stored size: 421 Bytes
Contents
# frozen_string_literal: true module Quilt class Configuration attr_accessor :react_server_host, :react_server_protocol def initialize @react_server_host = ENV['SERVICE_URL'] || 'localhost:8081' @react_server_protocol = ENV['SERVICE_PROTOCOL'] || 'http' end end def self.configuration @configuration ||= Configuration.new end def self.configure yield(configuration) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quilt_rails-1.1.0 | lib/quilt_rails/configuration.rb |
quilt_rails-1.0.0 | lib/quilt_rails/configuration.rb |