Sha256: ada466a2fc412004a944eca8a4aa9fa2daf961a55f46dfd9e44622d11829aca9

Contents?: true

Size: 273 Bytes

Versions: 8

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

require_relative "context_data_provider"

class DefaultContextEventHandler < ContextDataProvider
  attr_accessor :client

  def initialize(client)
    @client = client
  end

  def publish(context, event)
    @client.publish(event)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
absmartly-sdk-1.1.2 lib/default_context_event_handler.rb
absmartly-sdk-1.1.1 lib/default_context_event_handler.rb
absmartly-sdk-1.1.0 lib/default_context_event_handler.rb
absmartly-sdk-1.0.8 lib/default_context_event_handler.rb
absmartly-sdk-1.0.7 lib/default_context_event_handler.rb
absmartly-sdk-1.0.6 lib/default_context_event_handler.rb
absmartly-sdk-1.0.5 lib/default_context_event_handler.rb
absmartly-sdk-0.1.2 lib/default_context_event_handler.rb