Sha256: 49eaf3643c627dcb5218e87a10b1336d75827306a6ddad3fa96786b0d8d370bd
Contents?: true
Size: 415 Bytes
Versions: 1
Compression:
Stored size: 415 Bytes
Contents
module Conjur extend self def service_base_port (ENV['CONJUR_SERVICE_BASE_PORT'] || 5000 ).to_i end def account ENV['CONJUR_ACCOUNT'] or raise "No CONJUR_ACCOUNT defined" end def env ENV['CONJUR_ENV'] || ENV['RAILS_ENV'] || ENV['RACK_ENV'] || "development" end def stack ENV['CONJUR_STACK'] || case env when "production" "v21" else env end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
conjur-api-2.1.0 | lib/conjur/env.rb |