Skip to content

Conversation

@thewheat
Copy link
Contributor

  • Added new webhook topics
  • Add new ping endpoint
  • Update docs

@thewheat thewheat added the java label Oct 28, 2018
subscription = Subscription.find("nsub_60ca7690-4020-11e4-b789-4961958e51bd");

// ping a subscription
Subscription.ping("nsub_60ca7690-4020-11e4-b789-4961958e51bd");
Copy link
Member

Choose a reason for hiding this comment

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

Might be worth passing in a subscription object here rather than the ID itself. e.g
Subscription.delete(subscription) or
Subscription.update(subscription)
That way they could just use the return object after creating it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added support for Subscription.ping(subscription) 👍

@thewheat thewheat force-pushed the timlim/update-webhooks branch from aa627da to ac5b930 Compare November 7, 2018 11:18
@choran choran merged commit dd4f2ef into master Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants