Sha256: 59aa86c1e3a294524913fcd76949422834c70bf31abcf36684ccd82ade4e07ec

Contents?: true

Size: 222 Bytes

Versions: 63

Compression:

Stored size: 222 Bytes

Contents

module Pay
  module Paddle
    module Webhooks
      class SubscriptionCreated
        def call(event)
          Pay::Paddle::Subscription.sync(event.subscription_id, object: event)
        end
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
pay-3.0.2 lib/pay/paddle/webhooks/subscription_created.rb
pay-3.0.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-3.0.0 lib/pay/paddle/webhooks/subscription_created.rb