Module: Ibrain::Auth

Defined in:
lib/ibrain/auth/version.rb,
lib/ibrain/auth/devise.rb,
lib/ibrain/auth/engine.rb,
lib/generators/ibrain/auth/install/install_generator.rb

Overview

frozen_string_literal: true

Defined Under Namespace

Classes: Engine, FailureApp, InstallGenerator

Constant Summary collapse

VERSION =
'0.0.1'

Class Method Summary collapse

Class Method Details

.config {|Ibrain::Auth::Config| ... } ⇒ Object

Yields:

  • (Ibrain::Auth::Config)


12
13
14
# File 'lib/ibrain/auth/devise.rb', line 12

def self.config(&_block)
  yield(Ibrain::Auth::Config)
end

.ibrain_auth_gem_versionObject



13
14
15
# File 'lib/ibrain/auth/version.rb', line 13

def self.ibrain_auth_gem_version
  Gem::Version.new(ibrain_auth_version)
end

.ibrain_auth_versionObject



9
10
11
# File 'lib/ibrain/auth/version.rb', line 9

def self.ibrain_auth_version
  VERSION
end

.load_defaults(version) ⇒ Object

Load the same version defaults for all available Ibrain components

See Also:

  • Preferences::Configuration#load_defaults


8
9
10
# File 'lib/ibrain/auth/devise.rb', line 8

def self.load_defaults(version)
  Ibrain::Auth::Config.load_defaults(version)
end