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-6.8.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.8.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.7.2 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.7.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.7.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.6.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.6.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.5.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.4.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.3.4 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.3.3 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.3.2 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.3.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.3.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.2.4 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.2.3 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.2.2 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.2.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.2.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.1.2 lib/pay/paddle/webhooks/subscription_created.rb