class WeChat::Bot::Callback
Attributes
bot[R]
@return [Bot]
Public Class Methods
new(bot)
click to toggle source
# File lib/wechat/bot/callback.rb, line 6 def initialize(bot) @bot = bot end
Public Instance Methods
synchronize(name, &block)
click to toggle source
(see Bot#synchronize)
# File lib/wechat/bot/callback.rb, line 11 def synchronize(name, &block) @bot.synchronize(name, &block) end