Module: Lark::Apis::Application
- Defined in:
- lib/lark/apis/application.rb
Instance Method Summary collapse
- #app_admin_user_list ⇒ Object
- #app_list(params = {}) ⇒ Object
- #app_update_visibility(payload = {}) ⇒ Object
- #app_visibility(app_id:, user_page_token: nil, user_page_size: nil) ⇒ Object
- #is_user_admin(params = {}) ⇒ Object
- #scopes ⇒ Object
- #scopes_apply ⇒ Object
- #user_visible_apps(params = {}) ⇒ Object
Instance Method Details
#app_admin_user_list ⇒ Object
4 5 6 |
# File 'lib/lark/apis/application.rb', line 4 def app_admin_user_list get 'user/v4/app_admin_user/list' end |
#app_list(params = {}) ⇒ Object
24 25 26 |
# File 'lib/lark/apis/application.rb', line 24 def app_list(params={}) get 'application/v3/app/list', params: params end |
#app_update_visibility(payload = {}) ⇒ Object
28 29 30 |
# File 'lib/lark/apis/application.rb', line 28 def app_update_visibility(payload={}) post 'application/v3/app/update_visibility', payload end |
#app_visibility(app_id:, user_page_token: nil, user_page_size: nil) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/lark/apis/application.rb', line 12 def app_visibility(app_id:, user_page_token: nil, user_page_size: nil) get 'application/v1/app/visibility', params: { app_id: app_id, user_page_token: user_page_token, user_page_size: user_page_size }.compact end |
#is_user_admin(params = {}) ⇒ Object
8 9 10 |
# File 'lib/lark/apis/application.rb', line 8 def is_user_admin(params={}) get 'application/v3/is_user_admin', params: params end |
#scopes ⇒ Object
32 33 34 |
# File 'lib/lark/apis/application.rb', line 32 def scopes get 'application/v6/scopes' end |
#scopes_apply ⇒ Object
36 37 38 |
# File 'lib/lark/apis/application.rb', line 36 def scopes_apply post 'application/v6/scopes/apply' end |
#user_visible_apps(params = {}) ⇒ Object
20 21 22 |
# File 'lib/lark/apis/application.rb', line 20 def user_visible_apps(params={}) get 'application/v1/user/visible_apps', params: params end |