Sha256: 029915c002a3963fd5779ab75257a00f26275ee318c130e54baec3bbcfc0e4bc
Contents?: true
Size: 711 Bytes
Versions: 4
Compression:
Stored size: 711 Bytes
Contents
require "doorkeeper_hub/version" require 'doorkeeper_hub/configurator' require "doorkeeper_hub/saml" require "doorkeeper_hub/helpers" 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_routes_scope user_model.tableize.to_sym end def self.devise_scope user_model.underscore.to_sym end def self.user_model config.user_model end def self.token_name config.doorkeeper_token_name end def self.token_param :doorkeeper_token end def self.client_mode? config.client_mode end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper_hub-0.2.9 | lib/doorkeeper_hub.rb |
doorkeeper_hub-0.2.8 | lib/doorkeeper_hub.rb |
doorkeeper_hub-0.2.7 | lib/doorkeeper_hub.rb |
doorkeeper_hub-0.2.6 | lib/doorkeeper_hub.rb |