Sha256: 47f6f3ef9acbee9e3690574f0dbc2779a308cbfd44d9e6b06c4338402cbdfd91
Contents?: true
Size: 731 Bytes
Versions: 11
Compression:
Stored size: 731 Bytes
Contents
class PrxAuth::Rails::Configuration attr_accessor :install_middleware, :namespace, :prx_client_id, :id_host def initialize @install_middleware = true if defined?(::Rails) klass = ::Rails.application.class parent_name = if ::Rails::VERSION::MAJOR >= 6 klass.module_parent_name else klass.parent_name end klass_name = if parent_name.present? parent_name else klass.name end @namespace = klass_name.underscore.intern @prx_client_id = nil @id_host = nil end end end
Version data entries
11 entries across 11 versions & 1 rubygems