Module: RailsSimpleAuth::OauthHelper
- Defined in:
- app/helpers/rails_simple_auth/oauth_helper.rb
Instance Method Summary collapse
-
#oauth_display_name(provider) ⇒ Object
Get display name for an OAuth provider Usage: oauth_display_name(:google_oauth2) => “Google”.
Instance Method Details
#oauth_display_name(provider) ⇒ Object
Get display name for an OAuth provider Usage: oauth_display_name(:google_oauth2) => “Google”
7 8 9 |
# File 'app/helpers/rails_simple_auth/oauth_helper.rb', line 7 def oauth_display_name(provider) RailsSimpleAuth.configuration.oauth_provider_display_name(provider) end |