lib/wechat/corp_api.rb
Class CorpApi
has 49 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class CorpApi < ApiBase
attr_reader :agentid
def initialize(appid, secret, token_file, agentid, network_setting, jsapi_ticket_file)
super()
Method initialize
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(appid, secret, token_file, agentid, network_setting, jsapi_ticket_file)
Method news_message_send
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def news_message_send(userid, title, description, link_url, pic_url)