Sha256: e388f1ca2a8e7f663fb3a453ee05bdea7f0e044ff87ffbeba4ca60f902b2184c
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
class Wechat::ShakeAround::Icon extend Wechat::Core::Common extend Wechat::ShakeAround::Common extend Wechat::ShakeAround::Material # 上传图片素材 # http://mp.weixin.qq.com/wiki/5/e997428269ff189d8f9a4b9e177be2d9.html # # Return hash format if success: # { # data: { pic_url: <ICON_LINK> }, # errcode: 0, # errmsg: 'success.' # } # # media 图片完整路径。 def self.create(access_token, media) assert_present! :access_token, access_token assert_present! :media, media upload access_token, media, 'icon' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wechat-shake_around-0.9.1 | lib/wechat/shake_around/icon.rb |