Sha256: a30eb69202c8163a6bd37b1dc1aa0eafcf8cd468aeb21bd7f06ac8993e627b35

Contents?: true

Size: 261 Bytes

Versions: 9

Compression:

Stored size: 261 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
paddle-2.7.0 lib/paddle/classic/resources/webhooks.rb
paddle-2.6.0 lib/paddle/classic/resources/webhooks.rb
paddle-2.5.2 lib/paddle/classic/resources/webhooks.rb
paddle-2.5.1 lib/paddle/classic/resources/webhooks.rb
paddle-2.5.0 lib/paddle/classic/resources/webhooks.rb
paddle-2.4.1 lib/paddle/classic/resources/webhooks.rb
paddle-2.4.0 lib/paddle/classic/resources/webhooks.rb
paddle-2.3.0 lib/paddle/classic/resources/webhooks.rb
paddle-2.2.1 lib/paddle/classic/resources/webhooks.rb