-
Notifications
You must be signed in to change notification settings - Fork 26
Branches - Erika and Dora #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…k.rb select user message
…sts. Recorded on VCR
slack.rbWhat We're Looking For
|
|
|
||
| # Source Citation: lines 20-23 & 27 with Paige and Angele | ||
| def self.list | ||
| channels = self.get("https://slack.com/api/conversations.list")["channels"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be error handling here, reading the response code and returning an instance of SlackApiError.
|
|
||
| def self.list | ||
|
|
||
| response = self.get("https://slack.com/api/users.list")["members"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be error handling here, reading the response code and returning an instance of SlackApiError.
|
|
||
|
|
||
|
|
||
| def show_details |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to talk with y'all to understand why y'all chose to put this and send_message here rather than in the Recipient, User, and Channel like the design prescribes.
slack.rb
Congratulations! You're submitting your assignment!
You and your partner should collaborate on the answers to these questions.
Comprehension Questions