Sha256: 666e68617cb75a42f9325cba49351af457db2391ffda0222a9afb5a3bca89b91

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

# frozen_string_literal: true

module Typesense
  class Stats
    RESOURCE_PATH = '/stats.json'

    def initialize(api_call)
      @api_call = api_call
    end

    def retrieve
      @api_call.get(RESOURCE_PATH)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typesense-3.0.0.rc1 lib/typesense/stats.rb
typesense-2.1.0 lib/typesense/stats.rb
typesense-2.1.0.rc2 lib/typesense/stats.rb