Sha256: 441de23a56917f6d522df8f065557e239d66bd1fcf054a6ad57dfd87cb2a58ff

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

module Typesense
  class Client
    attr_reader :configuration
    attr_reader :collections
    attr_reader :debug

    def initialize(options = {})
      @configuration ||= Configuration.new(options)
      @collections   = Collections.new(@configuration)
      @debug         = Debug.new(@configuration)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typesense-0.1.1 lib/typesense/client.rb
typesense-0.1.0 lib/typesense/client.rb