Class: Pay::LemonSqueezy::Webhooks::Order

Inherits:
Object
  • Object
show all
Defined in:
lib/pay/lemon_squeezy/webhooks/order.rb

Instance Method Summary collapse

Instance Method Details

#call(order) ⇒ Object



5
6
7
# File 'lib/pay/lemon_squeezy/webhooks/order.rb', line 5

def call(order)
  Pay::LemonSqueezy.sync_order(order.id, object: order)
end