slack-ruby / slack-ruby-client

A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
MIT License
1.21k stars 214 forks source link

Automate multi-argument requirements in Web API #452

Closed jmanian closed 1 year ago

jmanian commented 1 year ago

I.e. methods that require exactly one of or at least one of a set of arguments.

It was not trivial to maintain the exact error messages that had been patched in previously, so the error messages have changed slightly. Otherwise there should be no functional change to this.

Also many auto-generated tests have changed due to slack-ruby/slack-api-ref#65.