Sha256: 732b82f562127a395c4cb2ecc5e9d115399657add3596c8a348831b620ac8589

Contents?: true

Size: 682 Bytes

Versions: 3

Compression:

Stored size: 682 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
user_mgmt-0.0.512 lib/user_mgmt.rb
user_mgmt-0.0.511 lib/user_mgmt.rb
user_mgmt-0.0.51 lib/user_mgmt.rb