Sha256: e7d8068a3c4b0320a3c2eea5d3d2f06a4d8e8c11e9a0f97d062edf02e06fe7f9
Contents?: true
Size: 500 Bytes
Versions: 20
Compression:
Stored size: 500 Bytes
Contents
module Algolia module Insights 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("insights.#{region}.algolia.io")] end end end end
Version data entries
20 entries across 20 versions & 1 rubygems