module Ingenico::Direct::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/direct/sdk/webhooks/webhooks.rb, line 17
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/direct/sdk/webhooks/webhooks.rb, line 9
def self.create_helper_builder(secret_key_store)
  WebhooksHelperBuilder.new
                       .with_marshaller(DefaultMarshaller.INSTANCE)
                       .with_secret_key_store(secret_key_store)
end