module Ingenico::Connect::SDK::Webhooks::Webhooks

Ingenico ePayments platform factory for several webhooks components

Public Class Methods

create_helper(secret_key_store) click to toggle source

Creates a WebhooksHelper that uses the given SecretkeyStore.

# File lib/ingenico/connect/sdk/webhooks/webhooks.rb, line 16
def self.create_helper(secret_key_store)
  create_helper_builder(secret_key_store).build
end
create_helper_builder(secret_key_store) click to toggle source

Creates a WebhooksHelperBuilder that uses the given SecretkeyStore

# File lib/ingenico/connect/sdk/webhooks/webhooks.rb, line 8
def self.create_helper_builder(secret_key_store)
  WebhooksHelperBuilder.new
    .with_marshaller(DefaultMarshaller.INSTANCE)
    .with_secret_key_store(secret_key_store)
end