Class: Optimizely::EventBatch
- Inherits:
-
Object
- Object
- Optimizely::EventBatch
- Defined in:
- lib/optimizely/event/entity/event_batch.rb
Defined Under Namespace
Classes: Builder
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#anonymize_ip ⇒ Object
Returns the value of attribute anonymize_ip.
-
#client_name ⇒ Object
Returns the value of attribute client_name.
-
#client_version ⇒ Object
Returns the value of attribute client_version.
-
#enrich_decisions ⇒ Object
Returns the value of attribute enrich_decisions.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#revision ⇒ Object
Returns the value of attribute revision.
-
#visitors ⇒ Object
Returns the value of attribute visitors.
Instance Method Summary collapse
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
20 21 22 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 20 def account_id @account_id end |
#anonymize_ip ⇒ Object
Returns the value of attribute anonymize_ip.
20 21 22 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 20 def anonymize_ip @anonymize_ip end |
#client_name ⇒ Object
Returns the value of attribute client_name.
20 21 22 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 20 def client_name @client_name end |
#client_version ⇒ Object
Returns the value of attribute client_version.
20 21 22 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 20 def client_version @client_version end |
#enrich_decisions ⇒ Object
Returns the value of attribute enrich_decisions.
20 21 22 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 20 def enrich_decisions @enrich_decisions end |
#project_id ⇒ Object
Returns the value of attribute project_id.
20 21 22 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 20 def project_id @project_id end |
#revision ⇒ Object
Returns the value of attribute revision.
20 21 22 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 20 def revision @revision end |
#visitors ⇒ Object
Returns the value of attribute visitors.
20 21 22 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 20 def visitors @visitors end |
Instance Method Details
#as_json ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/optimizely/event/entity/event_batch.rb', line 23 def as_json { account_id: @account_id, project_id: @project_id, revision: @revision, client_name: @client_name, client_version: @client_version, anonymize_ip: @anonymize_ip, enrich_decisions: @enrich_decisions, visitors: @visitors } end |