module WxExt::Api::Semantic
User
api of weixin.
@author FuShengYang
Public Instance Methods
semantic_search(access_token, semantic_hash)
click to toggle source
Create semantic search via post.
@param [Enumerable<String>] access_token @param [Hash] semantic_hash @return [Hash] Json based hash.
# File lib/wx_ext/api/semantic.rb, line 19 def semantic_search(access_token, semantic_hash) url = 'https://api.weixin.qq.com/semantic/semproxy/search'\ "?access_token=#{access_token}" Helper.http_post(url, semantic_hash.to_json) end