私は、次のインバンド登録を行うにはxmpp4rを使用して問題を抱えてきた SOここにスレッド: XMPP transport to another protocol を問題は私が得ることに降りてきますnew_registerためNoMethodError例外エラー、私は次のコードを実行します。 :私はのように定義new_register方法を見ることができますiq.rbファイルにxmpp4r宝石で
私は現在Cloud9でXMPP4Rを使用しています。 conference.on_message {|time, nick, text|
case text
when /regex/i
#Same Command as on_private_message
end
end
}
conference.on_private_message