Class: Omniauth::Rails::AuthorizationTypes::Emails
- Defined in:
- app/models/omniauth/rails/authorization_types/emails.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Omniauth::Rails::AuthorizationTypes::Base
Instance Method Details
#authorized? ⇒ Boolean
6 7 8 |
# File 'app/models/omniauth/rails/authorization_types/emails.rb', line 6 def emails.any? { |allowed_email| allowed_email.to_s.casecmp(email).zero? } end |