Sha256: e2cc04a9da6afa53979ed1cb635166b860ac9336ec5cd596ddbc4af475078e33

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 Bytes

Contents

require "ucb_rails_user/engine"

require "haml"
require "haml-rails"
require "omniauth"
require "omniauth-cas"
require "ucb_ldap"
require "active_attr"

module UcbRailsUser

  mattr_accessor :user_class

  def self.logger
    Rails.logger
  end

  def self.user_class
    @@user_class&.constantize || ::User
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ucb_rails_user-7.0.0 lib/ucb_rails_user.rb
ucb_rails_user-6.2.2 lib/ucb_rails_user.rb
ucb_rails_user-6.2.0 lib/ucb_rails_user.rb
ucb_rails_user-6.1.1 lib/ucb_rails_user.rb
ucb_rails_user-6.1.0 lib/ucb_rails_user.rb
ucb_rails_user-6.0.0 lib/ucb_rails_user.rb