Class: MarketplaceKit::Services::UserAuthentication
- Inherits:
-
Object
- Object
- MarketplaceKit::Services::UserAuthentication
- Includes:
- Loggable
- Defined in:
- lib/marketplace_kit/services/user_authentication.rb
Instance Method Summary collapse
Methods included from Loggable
Instance Method Details
#authenticate ⇒ Object
6 7 8 9 10 11 |
# File 'lib/marketplace_kit/services/user_authentication.rb', line 6 def authenticate return unless requires_login? credentials = ask_for_email_and_password login_and_remember credentials end |