Class: Worldline::Connect::SDK::V1::Webhooks::V1WebhooksFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/worldline/connect/sdk/v1/webhooks/v1_webhooks_factory.rb

Overview

Worldline Global Collect platform factory for several v1 webhooks components

Instance Method Summary collapse

Instance Method Details

#create_helper(secret_key_store, marshaller: nil) ⇒ Worldline::Connect::SDK::V1::Webhooks::WebhooksHelper

Creates a WebhooksHelper that uses the given SecretKeyStore.



19
20
21
22
# File 'lib/worldline/connect/sdk/v1/webhooks/v1_webhooks_factory.rb', line 19

def create_helper(secret_key_store, marshaller: nil)
  marshaller = DefaultMarshaller.instance unless marshaller
  WebhooksHelper.new(marshaller, secret_key_store)
end