Method: WeChat::Bot::Core#configure

Defined in:
lib/wechat/bot/core.rb

#configure {|config| ... } ⇒ void

This method returns an undefined value.

用于设置 WeChat::Bot 的配置默认无需配置,需要定制化 yield #config 进行配置

Yield Parameters:

  • config (Struct)


98
99
100
# File 'lib/wechat/bot/core.rb', line 98

def configure
  yield @config
end