Sha256: 19272f5e67db3ec4f6da05863c068705cf4f758872db20c8aa4f40bab71e634c
Contents?: true
Size: 523 Bytes
Versions: 1
Compression:
Stored size: 523 Bytes
Contents
require "doorkeeper_hub/version" require 'doorkeeper_hub/configurator' require "doorkeeper_hub/saml" require 'doorkeeper_hub/engine' if defined?(::Rails) && Rails::VERSION::MAJOR > 4 module DoorkeeperHub def self.config @config ||= DoorkeeperHub::Configurator.new end def self.configure yield config end def self.devise_scope config.user_model.to_s.downcase.pluralize.to_sym end def self.user_model config.user_model end def self.token_name config.doorkeeper_token_name end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper_hub-0.1.2 | lib/doorkeeper_hub.rb |