Class: Gecko::Pusher::Channel::GeckoMeter
- Defined in:
- lib/gecko-pusher/channel/gecko_meter.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Gecko::Pusher::Channel::Base
Instance Method Details
#push(*args) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/gecko-pusher/channel/gecko_meter.rb', line 6 def push(*args) = (args) data = extract_values(args) data[:type] = [:type] unless [:type].nil? _push(data) end |