Sha256: 824df9c1a68cc3e4784de5e6a1211a381103bff8c4f339568b44a54dbcab2892
Contents?: true
Size: 414 Bytes
Versions: 15
Compression:
Stored size: 414 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" "v3" else env end end end
Version data entries
15 entries across 15 versions & 1 rubygems