Skip to content
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

Adds POST /messages/mark endpoint #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rahilsondhi
Copy link
Contributor

No description provided.

@rahilsondhi
Copy link
Contributor Author

Tests are failing right now until I update the VCR cassette. Can someone send me a message to my AngelList profile please?

@@ -15,5 +15,10 @@
thread.should have_key field
end
end

it 'marks messages as read for a user' do
read_messages = client.post_mark_messages([1, 2, 3])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want additional tests to test for:

  • Threads don't exist
  • Invalid permission (ie don't have the messages scope)

@rahilsondhi
Copy link
Contributor Author

@ches Let me know if I'm on the right track with these pulls before I go on to the other endpoints. Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant