class WechatClient::WechatApiNotFoundError
Constants
- Finder
Public Class Methods
new(name)
click to toggle source
Calls superclass method
# File lib/wechat_client/client.rb, line 11 def initialize(name) fuzzy_method_name = Finder.find(name) error_msg = "undefined wechat api: #{name}" error_msg << ". Do you mean #{fuzzy_method_name}?" unless fuzzy_method_name.empty? super(error_msg) end