Sha256: d349b1222da1245511c18f312b1a937cb94f71b2818bfd3c7f804afd5ded5b67

Contents?: true

Size: 697 Bytes

Versions: 2

Compression:

Stored size: 697 Bytes

Contents

require "user_mgmt/engine"
require "user_mgmt/version"
require "rails"

module UserMgmt

	# URI of the external database where authentication happens and gets its data stored at
	mattr_accessor :external_database_URI
	@@external_database_URI = nil

	# The parent controller all UserMgmt controllers inherits from.
	# Defaults to ApplicationController. This should be set early
	# in the initialization process and should be set to a string.
	mattr_accessor :parent_controller
	@@parent_controller = "ApplicationController"

	# Default way to setup UserMgmt. Run rails generate user_mgmt:install to create
	# a fresh initializer with all configuration values.
	def self.setup
		yield self
	end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
user_mgmt-0.0.52 lib/user_mgmt.rb
user_mgmt-0.0.513 lib/user_mgmt.rb