Class: SpreeCmCommissioner::Integrations::StadiumXV1::SyncStrategies::WebhookSyncStrategy

Inherits:
Object
  • Object
show all
Defined in:
app/services/spree_cm_commissioner/integrations/stadium_x_v1/sync_strategies/webhook_sync_strategy.rb

Instance Method Summary collapse

Constructor Details

#initialize(integration:, event_type:, event_data:) ⇒ WebhookSyncStrategy

Returns a new instance of WebhookSyncStrategy.



4
5
6
7
8
# File 'app/services/spree_cm_commissioner/integrations/stadium_x_v1/sync_strategies/webhook_sync_strategy.rb', line 4

def initialize(integration:, event_type:, event_data:)
  @integration = integration
  @event_type = event_type
  @event_data = event_data
end

Instance Method Details

#callObject



10
11
12
# File 'app/services/spree_cm_commissioner/integrations/stadium_x_v1/sync_strategies/webhook_sync_strategy.rb', line 10

def call
  # TODO: Implement webhook sync logic
end