class TED::MTU
Attributes
description[R]
Public Class Methods
new(ecc, index, description)
click to toggle source
# File lib/ted/mtu.rb, line 14 def initialize(ecc, index, description) @ecc, @index, @description, @spyders = ecc, index, description, [] end
Public Instance Methods
current()
click to toggle source
# File lib/ted/mtu.rb, line 18 def current ecc.current(self) end
history(interval: :seconds, offset: nil, limit: nil, date_range: nil, start_time: nil, end_time: nil)
click to toggle source
# File lib/ted/mtu.rb, line 22 def history(interval: :seconds, offset: nil, limit: nil, date_range: nil, start_time: nil, end_time: nil) offset = ECC.send(:interpret_offsets, offset, limit) date_range = ECC.send(:interpret_dates, date_range, start_time, end_time) ecc.send(:history_by_source, self, interval, offset, date_range) end