class Ingenico::Direct::SDK::Webhooks::WebhooksHelperBuilder

Builder for a WebhooksHelper object.

Public Instance Methods

build() click to toggle source

Creates a fully initialized WebhooksHelper object

# File lib/ingenico/direct/sdk/webhooks/webhooks_helper_builder.rb, line 20
def build
  WebhooksHelper.new(@marshaller, @secret_key_store)
end
with_marshaller(marshaller) click to toggle source

Sets the Marshaller to use.

# File lib/ingenico/direct/sdk/webhooks/webhooks_helper_builder.rb, line 8
def with_marshaller(marshaller)
  @marshaller = marshaller
  self
end
with_secret_key_store(secret_key_store) click to toggle source

Sets the SecretkeyStore to use.

# File lib/ingenico/direct/sdk/webhooks/webhooks_helper_builder.rb, line 14
def with_secret_key_store(secret_key_store)
  @secret_key_store = secret_key_store
  self
end