Project

General

Profile

« Previous | Next » 

Revision 476368e8

Added by Marc Dequènes over 13 years ago

  • ID 476368e89610c1079a6a5c869254f3958533484d

[fix] adapted Interface to recent changes, pass bot object, and correct api_methods() calculation

View differences:

bin/mapmaker_client
if conv
logger.info "Yo ! Conversation ready with MapMaker (#{conv.peer_name}) !"
conv.thread("plop") do |conv_thread|
conv.protocol.send_request_call(conv_thread, "/coucou") do |reply|
conv.protocol.send_request_call(conv_thread, "/api_version") do |reply|
pp reply
end
end

Also available in: Unified diff