Method: Smartware::PubSubClient::PubSubHandler#receive_line
- Defined in:
- lib/smartware/pub_sub_client.rb
#receive_line(line) ⇒ Object
49 50 51 52 53 |
# File 'lib/smartware/pub_sub_client.rb', line 49 def receive_line(line) data = JSON.load line @client.receive data end |