Class: Redis::TimeSeries::Multi::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/redis/time_series/multi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#labelsObject

Returns the value of attribute labels

Returns:

  • (Object)

    the current value of labels



65
66
67
# File 'lib/redis/time_series/multi.rb', line 65

def labels
  @labels
end

#samplesObject

Returns the value of attribute samples

Returns:

  • (Object)

    the current value of samples



65
66
67
# File 'lib/redis/time_series/multi.rb', line 65

def samples
  @samples
end

#seriesObject

Returns the value of attribute series

Returns:

  • (Object)

    the current value of series



65
66
67
# File 'lib/redis/time_series/multi.rb', line 65

def series
  @series
end

Instance Method Details

#valuesObject



66
67
68
# File 'lib/redis/time_series/multi.rb', line 66

def values
  samples.map(&:value)
end