Sha256: d34f48397657add5ff75f33b71e8139578d767698d55920cf9ac73771b9c0db1
Contents?: true
Size: 515 Bytes
Versions: 10
Compression:
Stored size: 515 Bytes
Contents
module Algolia module Personalization class Config < BaseConfig attr_accessor :region, :default_hosts # Initialize a config # # @option options [String] :application_id # @option options [String] :api_key # @option options [String] :region # def initialize(opts = {}) super(opts) @region = opts[:region] || 'us' @default_hosts = [Transport::StatefulHost.new("personalization.#{region}.algolia.com")] end end end end
Version data entries
10 entries across 10 versions & 1 rubygems