Module: WeChat::Bot

Defined in:
lib/wechat/bot/http/adapter/xml.rb,
lib/wechat/bot/version.rb,
lib/wechat/bot/callback.rb,
lib/wechat/bot/exception.rb,
lib/wechat/bot/cached_list.rb,
lib/wechat/bot/contact_list.rb,
lib/wechat/bot/handler_list.rb,
lib/wechat/bot/http/session.rb,
lib/wechat/bot/configuration.rb,
lib/wechat/bot/http/adapter/js.rb,
lib/wechat/bot/ext/wechat_emoji_string.rb,
lib/wechat/bot/pattern.rb,
lib/wechat/bot/message.rb,
lib/wechat/bot/handler.rb,
lib/wechat/bot/contact.rb,
lib/wechat/bot/logger.rb,
lib/wechat/bot/helper.rb,
lib/wechat/bot/client.rb,
lib/wechat/bot/core.rb,
lib/wechat/bot.rb

Overview

require “roxml”

Defined Under Namespace

Modules: HTTP, MessageData, WeChatEmojiString Classes: CachedList, Callback, Client, Configuration, Contact, ContactList, Core, Handler, HandlerList, Logger, Message, NoReplyException, Pattern

Constant Summary collapse

VERSION =
"0.1.5"

Class Method Summary collapse

Class Method Details

.new(&block) ⇒ Object



9
10
11
# File 'lib/wechat/bot.rb', line 9

def self.new(&block)
  WeChat::Bot::Core.new(&block)
end