Class: Optimizely::BaseUserProfileService

Inherits:
Object
  • Object
show all
Defined in:
lib/optimizely/user_profile_service.rb

Instance Method Summary collapse

Instance Method Details

#lookup(user_id) ⇒ Hash

Retrieve the Hash user profile associated with a given user ID.

Parameters:

  • user_id
    • String user ID

Returns:

  • (Hash)

    user profile.



28
# File 'lib/optimizely/user_profile_service.rb', line 28

def lookup(user_id); end

#save(user_profile) ⇒ Object

Saves a given user profile.

Parameters:

  • user_profile
    • Hash user profile.



33
# File 'lib/optimizely/user_profile_service.rb', line 33

def save(); end