Class: Dingtalk::AppsController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Dingtalk::AppsController
- Defined in:
- app/controllers/dingtalk/apps_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
16 17 |
# File 'app/controllers/dingtalk/apps_controller.rb', line 16 def create end |
#info ⇒ Object
6 7 8 9 |
# File 'app/controllers/dingtalk/apps_controller.rb', line 6 def info result = @app.xx(params[:code]) render json: result end |
#login ⇒ Object
11 12 13 14 |
# File 'app/controllers/dingtalk/apps_controller.rb', line 11 def login @dingtalk_user = @app.generate_user(params[:authCode]) @dingtalk_user.save end |