Class: VWO::UserStorage
- Inherits:
-
Object
- Object
- VWO::UserStorage
- Defined in:
- lib/vwo/user_storage.rb
Overview
UserStorage Class is used to store user-variation mapping. Override this class to implement your own functionality. SDK will ensure to use this while bucketing a user into a variation.
Instance Method Summary collapse
-
#get(_user_id, _campaign_key) ⇒ Object
To retrieve the stored variation for the user_id.
-
#set(_user_data) ⇒ Object
To store the the user variation-mapping @param :user_data.
Instance Method Details
#get(_user_id, _campaign_key) ⇒ Object
27 |
# File 'lib/vwo/user_storage.rb', line 27 def get(_user_id, _campaign_key); end |
#set(_user_data) ⇒ Object
To store the the user variation-mapping @param :user_data
32 |
# File 'lib/vwo/user_storage.rb', line 32 def set(_user_data); end |