Class: Authentication
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Authentication
- Defined in:
- app/models/authentication.rb
Instance Method Summary collapse
Instance Method Details
#provider_name ⇒ Object
4 5 6 |
# File 'app/models/authentication.rb', line 4 def provider_name OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize end |