Sha256: e95ec3c13ed7f034782f93771443bb14da4ac96841800fcf58ff63a2644ae646
Contents?: true
Size: 495 Bytes
Versions: 3
Compression:
Stored size: 495 Bytes
Contents
module Algolia module Insights class Config < AlgoliaConfig attr_accessor :region, :default_hosts # Initialize a config # # @option options [String] :app_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
3 entries across 3 versions & 1 rubygems