Class: Hackle::Event::Exposure
- Inherits:
-
Hackle::Event
- Object
- Hackle::Event
- Hackle::Event::Exposure
- Defined in:
- lib/hackle/events/event.rb
Instance Attribute Summary collapse
-
#experiment ⇒ Object
readonly
Returns the value of attribute experiment.
-
#variation ⇒ Object
readonly
Returns the value of attribute variation.
Attributes inherited from Hackle::Event
Instance Method Summary collapse
-
#initialize(user_id:, experiment:, variation:) ⇒ Exposure
constructor
A new instance of Exposure.
Methods inherited from Hackle::Event
Constructor Details
Instance Attribute Details
#experiment ⇒ Object (readonly)
Returns the value of attribute experiment.
8 9 10 |
# File 'lib/hackle/events/event.rb', line 8 def experiment @experiment end |
#variation ⇒ Object (readonly)
Returns the value of attribute variation.
8 9 10 |
# File 'lib/hackle/events/event.rb', line 8 def variation @variation end |