Class: VWO::UserProfile
- Inherits:
-
Object
- Object
- VWO::UserProfile
- Defined in:
- lib/vwo/user_profile.rb
Overview
Abstract class encapsulating user profile service functionality. Override with your own implementation for storing And retrieving the user profile.
Instance Method Summary collapse
-
#lookup(_user_id) ⇒ Object
Abstract method, must be defined to fetch the User profile dict corresponding to the user_id.
-
#save(_user_profile_obj) ⇒ Object
Abstract method, must be to defined to save The user profile dict sent to this method.
Instance Method Details
#lookup(_user_id) ⇒ Object
15 |
# File 'lib/vwo/user_profile.rb', line 15 def lookup(_user_id); end |
#save(_user_profile_obj) ⇒ Object
Abstract method, must be to defined to save The user profile dict sent to this method. @param :user_profile_obj Object representing the user’s profile.
21 |
# File 'lib/vwo/user_profile.rb', line 21 def save(_user_profile_obj); end |