Sha256: e4ebceca4a7f69ab5be95b683773ce307cfe7f38bedfc3b7867fc85e20fc0a6d

Contents?: true

Size: 536 Bytes

Versions: 7

Compression:

Stored size: 536 Bytes

Contents

# frozen_string_literal: true

module Typesense
  class Client
    attr_reader :configuration, :collections, :aliases, :keys, :debug, :health, :metrics

    def initialize(options = {})
      @configuration = Configuration.new(options)
      @api_call = ApiCall.new(@configuration)
      @collections = Collections.new(@api_call)
      @aliases = Aliases.new(@api_call)
      @keys = Keys.new(@api_call)
      @debug = Debug.new(@api_call)
      @health = Health.new(@api_call)
      @metrics = Metrics.new(@api_call)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typesense-0.9.0 lib/typesense/client.rb
typesense-0.8.0 lib/typesense/client.rb
typesense-0.8.0pre lib/typesense/client.rb
typesense-0.7.0 lib/typesense/client.rb
typesense-0.7.0.pre1 lib/typesense/client.rb
typesense-0.7.0.pre0 lib/typesense/client.rb
typesense-0.6.0 lib/typesense/client.rb