Qubitro Ruby MQTT Client Library
Ruby client library that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
Example
require 'qubitro-mqtt'
MQTT::Client.connect(
:host => host,
:port => 1883,
:client_id => deviceID,
:device_id => deviceID,
:device_token => device_token,
:ack_timeout => 15,
:will_topic => deviceID,
:will_payload => payload,
) do |client|
puts 'connected'
end