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

- old
+ new

@@ -138,11 +138,12 @@ # @param [#to_s] password the password to authenticate with # @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 - def setup(jid, password, host = nil, port = nil, certs = nil, connection_timeout = nil) - client.setup(jid, password, host, port, certs, connection_timeout) + # @param [Hash] (optional) options + def setup(jid, password, host = nil, port = nil, certs = nil, connection_timeout = nil, options = nil) + client.setup(jid, password, host, port, certs, connection_timeout, options) end # Connect to the server. Must be run in the EventMachine reactor def run client.run