Method: StatsCloud::Client#record_events_array

Defined in:
lib/statscloud/statscloud_client.rb

#record_events_array(events) ⇒ Object

Records an array of events at once.

Calls statsmeter client record_events_array method.

Parameters:

  • events (+Array+)

    array of events to send (each shoud have name and optional measurement fields).



132
133
134
# File 'lib/statscloud/statscloud_client.rb', line 132

def record_events_array(events)
  @statsmeter_client&.record_events_array(events)
end