Module: Slack::Web::Api::Endpoints::AdminFunctions
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/admin_functions.rb
Instance Method Summary collapse
-
#admin_functions_list(options = {}) ⇒ Object
Look up functions by a set of apps.
Instance Method Details
#admin_functions_list(options = {}) ⇒ Object
Look up functions by a set of apps
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/slack/web/api/endpoints/admin_functions.rb', line 22 def admin_functions_list( = {}) raise ArgumentError, 'Required arguments :app_ids missing' if [:app_ids].nil? if block_given? Pagination::Cursor.new(self, :admin_functions_list, ).each do |page| yield page end else post('admin.functions.list', ) end end |