ex_wechat v0.1.3 ExWechat.Api
Generate api methods base on the api definitions.
You also can use
it to import all the api methods.
use ExWechat.Api
@api [:access_token] # just import the method in `access_token` definition
@api :all # import all the method
If you didn’t add the @api
attribute, it will import all the api methods.
Summary
Functions
Return the access_token
Generate the AST data of method definiitons
Generate all the methods define in the api definitions
Use when access_token invalid