Class: Wechat::Api::Work
- Defined in:
- app/apis/wechat/api/work.rb
Defined Under Namespace
Constant Summary
Constants included from User
Constants included from Menu
Constants included from Agent
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(app) ⇒ Work
constructor
A new instance of Work.
Methods included from User
#batch_job_result, #batch_replaceparty, #batch_replaceuser, #batch_syncuser, #convert_to_openid, #department, #department_create, #department_delete, #department_update, #getuserinfo, #invite_user, #tag, #tag_add_user, #tag_create, #tag_del_user, #tag_delete, #tag_update, #tags, #user, #user_auth_success, #user_batchdelete, #user_create, #user_delete, #user_list, #user_simplelist, #user_update
Methods included from Menu
#custom_message_send, #material, #material_add, #material_count, #material_delete, #material_list, #menu, #menu_create, #menu_delete, #message_send
Methods included from Agent
#agent, #agent_list, #checkin, #jsapi_ticket, #token
Methods inherited from Base
Constructor Details
#initialize(app) ⇒ Work
Returns a new instance of Work.
8 9 10 11 |
# File 'app/apis/wechat/api/work.rb', line 8 def initialize(app) super @agentid = app.agentid end |