Module: Devise::Models::Capturable::ClassMethods
- Defined in:
- lib/devise_capturable/model.rb
Instance Method Summary collapse
-
#find_with_capturable_params(capture_data) ⇒ Object
This is called from strategy and is used to find a user when returning from janrain It defaults to find_by_uuid, but you can override this in your user model.
Instance Method Details
#find_with_capturable_params(capture_data) ⇒ Object
This is called from strategy and is used to find a user when returning from janrain It defaults to find_by_uuid, but you can override this in your user model
28 29 30 |
# File 'lib/devise_capturable/model.rb', line 28 def find_with_capturable_params(capture_data) self.find_by_email(capture_data["email"]) end |