Class: SpreeCmCommissioner::Integrations::StadiumXV1::SyncStrategies::WebhookSyncStrategy
- Inherits:
-
Object
- Object
- SpreeCmCommissioner::Integrations::StadiumXV1::SyncStrategies::WebhookSyncStrategy
- Defined in:
- app/services/spree_cm_commissioner/integrations/stadium_x_v1/sync_strategies/webhook_sync_strategy.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(integration:, event_type:, event_data:) ⇒ WebhookSyncStrategy
constructor
A new instance of WebhookSyncStrategy.
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
#call ⇒ Object
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 |