class Typesense::Operations
Constants
- RESOURCE_PATH
Public Class Methods
new(api_call)
click to toggle source
# File lib/typesense/operations.rb, line 7 def initialize(api_call) @api_call = api_call end
Public Instance Methods
perform(operation_name, query_params = {})
click to toggle source
# File lib/typesense/operations.rb, line 11 def perform(operation_name, query_params = {}) @api_call.post("#{RESOURCE_PATH}/#{operation_name}", {}, query_params) end