Module: Slack::Web::Api::Endpoints::SlackLists
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/slackLists.rb
Instance Method Summary collapse
-
#slackLists_create(options = {}) ⇒ Object
Create a List.
-
#slackLists_update(options = {}) ⇒ Object
Update a List.
Instance Method Details
#slackLists_create(options = {}) ⇒ Object
Create a List.
26 27 28 29 |
# File 'lib/slack/web/api/endpoints/slackLists.rb', line 26 def slackLists_create( = {}) raise ArgumentError, 'Required arguments :name missing' if [:name].nil? post('slackLists.create', ) end |
#slackLists_update(options = {}) ⇒ Object
Update a List.
44 45 46 47 |
# File 'lib/slack/web/api/endpoints/slackLists.rb', line 44 def slackLists_update( = {}) raise ArgumentError, 'Required arguments :id missing' if [:id].nil? post('slackLists.update', ) end |