Module: Spree::Order::Webhooks

Extended by:
ActiveSupport::Concern
Included in:
Spree::Order
Defined in:
app/models/spree/order/webhooks.rb

Instance Method Summary collapse

Instance Method Details

#send_order_canceled_webhookObject



6
7
8
# File 'app/models/spree/order/webhooks.rb', line 6

def send_order_canceled_webhook
  # Implement your logic of sending cancale webhooks
end

#send_order_placed_webhookObject



10
11
12
# File 'app/models/spree/order/webhooks.rb', line 10

def send_order_placed_webhook
  # Implement your logic of sending order placed webhooks
end

#send_order_resumed_webhookObject



14
15
16
# File 'app/models/spree/order/webhooks.rb', line 14

def send_order_resumed_webhook
  # Implement your logic of sending after resume webhooks
end