Sha256: 39205c39bf580b10fd623c5f790ed4ed6fa337dfa54ad289da5a9b8eb86cdb72

Contents?: true

Size: 263 Bytes

Versions: 10

Compression:

Stored size: 263 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

10 entries across 10 versions & 1 rubygems

Version Path
paddle-2.2.0 lib/paddle/classic/resources/webhooks.rb
paddle-2.1.4 lib/paddle/classic/resources/webhooks.rb
paddle-2.1.3 lib/paddle/classic/resources/webhooks.rb
paddle-2.1.2 lib/paddle/classic/resources/webhooks.rb
paddle-2.1.1 lib/paddle/classic/resources/webhooks.rb
paddle-2.1.0 lib/paddle/classic/resources/webhooks.rb
paddle-2.0.0 lib/paddle/classic/resources/webhooks.rb
paddle-1.1.2 lib/paddle/classic/resources/webhooks.rb
paddle-1.1.1 lib/paddle/classic/resources/webhooks.rb
paddle-1.1.0 lib/paddle/classic/resources/webhooks.rb