Class: DevCycle::EventsPayload
- Inherits:
-
Object
- Object
- DevCycle::EventsPayload
- Defined in:
- lib/devcycle-ruby-server-sdk/localbucketing/events_payload.rb
Instance Attribute Summary collapse
-
#eventCount ⇒ Object
readonly
Returns the value of attribute eventCount.
-
#payloadId ⇒ Object
readonly
Returns the value of attribute payloadId.
-
#records ⇒ Object
readonly
Returns the value of attribute records.
Instance Method Summary collapse
-
#initialize(records, payloadId, eventCount) ⇒ EventsPayload
constructor
A new instance of EventsPayload.
Constructor Details
#initialize(records, payloadId, eventCount) ⇒ EventsPayload
Returns a new instance of EventsPayload.
9 10 11 12 13 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/events_payload.rb', line 9 def initialize(records, payloadId, eventCount) @records = records @payloadId = payloadId @eventCount = eventCount end |
Instance Attribute Details
#eventCount ⇒ Object (readonly)
Returns the value of attribute eventCount.
7 8 9 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/events_payload.rb', line 7 def eventCount @eventCount end |
#payloadId ⇒ Object (readonly)
Returns the value of attribute payloadId.
6 7 8 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/events_payload.rb', line 6 def payloadId @payloadId end |
#records ⇒ Object (readonly)
Returns the value of attribute records.
5 6 7 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/events_payload.rb', line 5 def records @records end |