client = HipChat::Client.new(api_token, :api_version => 'v1') # Set http proxy client = HipChat::Client.new(api_token, :api_version => 'v1', :http_proxy => 'http://proxy_host:proxy_port') # 'username' is the name for which the message will be presented as from client['my room'].send('username', 'I talk') # Send notifications to users (default false) client['my room'].send('username', 'I quit!', :n