lib/pixela/webhook.rb in pixela-0.5.0 vs lib/pixela/webhook.rb in pixela-0.5.1
- old
+ new
@@ -19,11 +19,11 @@
#
# @return [Hashie::Mash]
#
# @raise [Pixela::PixelaError] API is failed
#
- # @see https://pixe.la/#api-webhook
+ # @see https://pixe.la/#api-detail-post-webhook
#
# @example
# client.webhook("<webhookHash>").invoke
def invoke
client.invoke_webhook(webhook_hash: webhook_hash)
@@ -33,10 +33,10 @@
#
# @return [Hashie::Mash]
#
# @raise [Pixela::PixelaError] API is failed
#
- # @see https://pixe.la/#api-webhook
+ # @see https://pixe.la/#api-detail-delete-webhook
#
# @example
# client.webhook("<webhookHash>").delete
def delete
client.delete_webhook(webhook_hash: webhook_hash)