Sha256: cc5598cdd492ef03c09d2ae2964013128e03d1e02f93406bb9ed6a1b0fa1bf21
Contents?: true
Size: 511 Bytes
Versions: 18
Compression:
Stored size: 511 Bytes
Contents
module Conjur module Authz class API < Conjur::API class << self def host ENV['CONJUR_AUTHZ_URL'] || default_host end def default_host case Conjur.env when 'test', 'development' "http://localhost:#{Conjur.service_base_port + 100}" else "https://authz-#{Conjur.stack}-conjur.herokuapp.com" end end end end end end require 'conjur/api/roles' require 'conjur/api/resources'
Version data entries
18 entries across 18 versions & 1 rubygems