Class: DevCycle::EventsPayload

Inherits:
Object
  • Object
show all
Defined in:
lib/devcycle-ruby-server-sdk/localbucketing/events_payload.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#eventCountObject (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

#payloadIdObject (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

#recordsObject (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