lib/paddle/classic/resources/webhooks.rb in paddle-2.2.0 vs lib/paddle/classic/resources/webhooks.rb in paddle-2.2.1
- old
+ new
@@ -1,12 +1,10 @@
module Paddle
module Classic
class WebhooksResource < Resource
-
def list(**params)
response = post_request("2.0/alert/webhooks", body: params)
Collection.from_response(response, type: Webhook, key: "data")
end
-
end
end
end