Module: Pixnet::SSO::Config

Defined in:
lib/pixnet-sso/config.rb

Constant Summary collapse

@@user_model =
"User"
@@openid_model =
"OpenidAssociate"
@@openid_enabled =
false
@@version =
1

Class Method Summary collapse

Class Method Details

.openid_klassObject



27
28
29
# File 'lib/pixnet-sso/config.rb', line 27

def self.openid_klass
  openid_model.to_s.constantize
end

.user_klassObject



23
24
25
# File 'lib/pixnet-sso/config.rb', line 23

def self.user_klass
  user_model.to_s.constantize
end