Sha256: 520842def656ce3e93260bac78b4c7b89030f5fae1cc52af6dd4e3202c8c7b00
Contents?: true
Size: 454 Bytes
Versions: 2
Compression:
Stored size: 454 Bytes
Contents
module GDS module SSO module Config # Name of the User class mattr_accessor :user_model @@user_model = "User" # OAuth ID mattr_accessor :oauth_id # OAuth Secret mattr_accessor :oauth_secret # Location of the OAuth server mattr_accessor :oauth_root_url @@oauth_root_url = "http://localhost:3001" def self.user_klass user_model.to_s.constantize end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gds-sso-0.1.1 | lib/gds-sso/config.rb |
gds-sso-0.1.0 | lib/gds-sso/config.rb |