Class: Optimizely::BaseEventBuilder
- Inherits:
-
Object
- Object
- Optimizely::BaseEventBuilder
- Defined in:
- lib/optimizely/event_builder.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(config) ⇒ BaseEventBuilder
constructor
A new instance of BaseEventBuilder.
Constructor Details
#initialize(config) ⇒ BaseEventBuilder
Returns a new instance of BaseEventBuilder.
47 48 49 50 |
# File 'lib/optimizely/event_builder.rb', line 47 def initialize(config) @config = config @params = {} end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
44 45 46 |
# File 'lib/optimizely/event_builder.rb', line 44 def config @config end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
45 46 47 |
# File 'lib/optimizely/event_builder.rb', line 45 def params @params end |