Method: M2X::Client::Stream#stats

Defined in:
lib/m2x/stream.rb

#stats(params = {}) ⇒ Object

Return count, min, max, average and standard deviation stats for the values of the stream.

This method only works for numeric streams

m2x.att.com/developer/documentation/v2/device#Data-Stream-Stats



71
72
73
# File 'lib/m2x/stream.rb', line 71

def stats(params={})
  @client.get("#{path}/stats", params)
end