lib/blather/client/dsl.rb in blather-1.1.2 vs lib/blather/client/dsl.rb in blather-1.1.3

- old
+ new

@@ -139,10 +139,10 @@ # @param [String] host (optional) the host to connect to (can be an IP). If # this is `nil` the domain on the JID will be used # @param [Fixnum, String] (optional) port the port to connect on # @param [Fixnum] (optional) connection_timeout the time to wait for connection to succeed before timing out # @param [Hash] (optional) options - def setup(jid, password, host = nil, port = nil, certs = nil, connection_timeout = nil, options = nil) + def setup(jid, password, host = nil, port = nil, certs = nil, connection_timeout = nil, options = {}) client.setup(jid, password, host, port, certs, connection_timeout, options) end # Connect to the server. Must be run in the EventMachine reactor def run