Class: MarketplaceKit::Services::UserAuthentication

Inherits:
Object
  • Object
show all
Includes:
Loggable
Defined in:
lib/marketplace_kit/services/user_authentication.rb

Instance Method Summary collapse

Methods included from Loggable

#log

Instance Method Details

#authenticateObject



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
   credentials
end