Method: PostHog::MessageBatch#clear

Defined in:
lib/posthog/message_batch.rb

#clearObject



40
41
42
43
# File 'lib/posthog/message_batch.rb', line 40

def clear
  @messages.clear
  @json_size = 0
end