Sha256: b11496622cabe2502768509d59897bbaf5f0d23d904d06b15f22ebfbcd144b48

Contents?: true

Size: 1.02 KB

Versions: 8

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

class ABSmartlyConfig
  attr_accessor :context_data_provider, :context_event_handler,
                :variable_parser, :scheduler, :context_event_logger,
                :client, :audience_deserializer
  def self.create
    ABSmartlyConfig.new
  end

  def context_data_provider=(context_data_provider)
    @context_data_provider = context_data_provider
    self
  end

  def context_event_handler=(context_event_handler)
    @context_event_handler = context_event_handler
    self
  end

  def context_data_provide
    @context_event_handler
  end

  def variable_parser=(variable_parser)
    @variable_parser = variable_parser
    self
  end

  def scheduler=(scheduler)
    @scheduler = scheduler
    self
  end

  def context_event_logger=(context_event_logger)
    @context_event_logger = context_event_logger
    self
  end

  def audience_deserializer=(audience_deserializer)
    @audience_deserializer = audience_deserializer
    self
  end

  def client=(client)
    @client = client
    self
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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