Class: Gecko::Pusher::Channel::Text
- Defined in:
- lib/gecko-pusher/channel/text.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 |
# File 'lib/gecko-pusher/channel/text.rb', line 6 def push(*args) return if args.empty? data = { item: extract_items(*args) } _push(data) end |