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
Based on satellizer example: github.com/sahat/satellizer/blob/master/examples/server/ruby
Defined Under Namespace
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 |