Sha256: 007db674664491ec01c61c49b080fcd9d30db25afdcc399052c3a3c3f4c87a0b
Contents?: true
Size: 313 Bytes
Versions: 15
Compression:
Stored size: 313 Bytes
Contents
# frozen_string_literal: true module Typesense class Operations RESOURCE_PATH = '/operations' def initialize(api_call) @api_call = api_call end def perform(operation_name, query_params = {}) @api_call.post("#{RESOURCE_PATH}/#{operation_name}", {}, query_params) end end end
Version data entries
15 entries across 15 versions & 1 rubygems