Sha256: 3981bace40bf853c4e126ff5bc9260574370d0abd466cffff14bc1896ed73a5d
Contents?: true
Size: 548 Bytes
Versions: 2
Compression:
Stored size: 548 Bytes
Contents
module GovukPublishingComponents module AppHelpers class Environment GOVUK_ENVIRONMENTS = { "production" => "production", "staging" => "staging", "integration-blue-aws" => "integration", }.freeze # The "acceptance environment" we're in - not the same as Rails env. # # Can be "production", "staging", "integration", or "development" def self.current_acceptance_environment GOVUK_ENVIRONMENTS.fetch(ENV["ERRBIT_ENVIRONMENT_NAME"], "development") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems