Module: OpenAuth
- Defined in:
- lib/openauth.rb
Constant Summary collapse
- VERSION =
BetterAuth::VERSION
Class Method Summary collapse
Class Method Details
.alias_better_auth_constants! ⇒ Object
8 9 10 11 12 |
# File 'lib/openauth.rb', line 8 def self.alias_better_auth_constants! BetterAuth.constants(false).each do |name| const_set(name, BetterAuth.const_get(name, false)) unless const_defined?(name, false) end end |
.auth ⇒ Object
14 15 16 |
# File 'lib/openauth.rb', line 14 def self.auth(...) BetterAuth.auth(...) end |
.const_missing(name) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/openauth.rb', line 18 def self.const_missing(name) constant = BetterAuth.const_get(name, false) const_set(name, constant) unless const_defined?(name, false) constant rescue NameError super end |