Method: WeChat::Bot::CachedList#initialize

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

#initialize(bot) ⇒ CachedList

Returns a new instance of CachedList.



5
6
7
8
9
# File 'lib/wechat/bot/cached_list.rb', line 5

def initialize(bot)
  @bot = bot
  @cache = {}
  @mutex = Mutex.new
end