Class: Sonic::Channels::Control

Inherits:
Base
  • Object
show all
Defined in:
lib/sonic/channels/control.rb

Instance Attribute Summary

Attributes inherited from Base

#connection

Instance Method Summary collapse

Methods inherited from Base

#help, #initialize, #ping, #quit

Constructor Details

This class inherits a constructor from Sonic::Channels::Base

Instance Method Details

#trigger(action) ⇒ Object



4
5
6
# File 'lib/sonic/channels/control.rb', line 4

def trigger(action)
  execute('TRIGGER', action)
end