Module: Slack::Web::Api::Endpoints::SlackListsDownload
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/slackLists_download.rb
Instance Method Summary collapse
-
#slackLists_download_get(options = {}) ⇒ Object
Retrieve List download URL from an export job to download List contents.
-
#slackLists_download_start(options = {}) ⇒ Object
Initiate a job to export List contents.
Instance Method Details
#slackLists_download_get(options = {}) ⇒ Object
Retrieve List download URL from an export job to download List contents.
18 19 20 21 22 |
# File 'lib/slack/web/api/endpoints/slackLists_download.rb', line 18 def slackLists_download_get( = {}) raise ArgumentError, 'Required arguments :list_id missing' if [:list_id].nil? raise ArgumentError, 'Required arguments :job_id missing' if [:job_id].nil? post('slackLists.download.get', ) end |
#slackLists_download_start(options = {}) ⇒ Object
Initiate a job to export List contents.
32 33 34 35 |
# File 'lib/slack/web/api/endpoints/slackLists_download.rb', line 32 def slackLists_download_start( = {}) raise ArgumentError, 'Required arguments :list_id missing' if [:list_id].nil? post('slackLists.download.start', ) end |