Module: Jm81auth

Defined in:
lib/jm81auth/oauth/base.rb,
lib/jm81auth.rb,
lib/jm81auth/version.rb,
lib/jm81auth/models/user.rb,
lib/jm81auth/oauth/github.rb,
lib/jm81auth/oauth/google.rb,
lib/jm81auth/oauth/facebook.rb,
lib/jm81auth/models/auth_token.rb,
lib/jm81auth/models/auth_method.rb

Overview

Defined Under Namespace

Modules: Models, OAuth

Constant Summary collapse

VERSION =
'0.1.4'

Class Method Summary collapse

Class Method Details

.config(&block) ⇒ Object



6
7
8
9
10
# File 'lib/jm81auth.rb', line 6

def config &block
  @config ||= Configuration.new
  @config.instance_eval(&block) if block_given?
  @config
end