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.1.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.1.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.0.3 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.0.2 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.0.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-6.0.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-5.0.4 lib/pay/paddle/webhooks/subscription_created.rb
pay-5.0.3 lib/pay/paddle/webhooks/subscription_created.rb
pay-5.0.2 lib/pay/paddle/webhooks/subscription_created.rb
pay-5.0.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-5.0.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-4.2.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-4.2.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-4.1.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-4.1.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-4.0.4 lib/pay/paddle/webhooks/subscription_created.rb
pay-4.0.2 lib/pay/paddle/webhooks/subscription_created.rb
pay-4.0.1 lib/pay/paddle/webhooks/subscription_created.rb
pay-4.0.0 lib/pay/paddle/webhooks/subscription_created.rb
pay-3.0.24 lib/pay/paddle/webhooks/subscription_created.rb