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(client:, integration:, event_type:, event_data:) ⇒ WebhookSyncStrategy

Returns a new instance of WebhookSyncStrategy.



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

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

Instance Method Details

#callObject



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

def call
  # TODO: Implement webhook sync logic
end