Sha256: 75af9f1ca143e683b1249eeeca99a1d1b2ba173b6eb67c8bfdbc40c7908c3dc9

Contents?: true

Size: 675 Bytes

Versions: 6

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

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

    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)
      @multi_search = MultiSearch.new(@api_call)
      @debug = Debug.new(@api_call)
      @health = Health.new(@api_call)
      @metrics = Metrics.new(@api_call)
      @operations = Operations.new(@api_call)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typesense-0.14.1 lib/typesense/client.rb
typesense-0.14.0 lib/typesense/client.rb
typesense-0.13.0 lib/typesense/client.rb
typesense-0.12.0 lib/typesense/client.rb
typesense-0.11.1 lib/typesense/client.rb
typesense-0.11.0 lib/typesense/client.rb