Sha256: a3e2a0640f6d7ad7888eca52d239ca1853ec939403cec6f6d0e5b81afa4de940
Contents?: true
Size: 611 Bytes
Versions: 7
Compression:
Stored size: 611 Bytes
Contents
# frozen_string_literal: true require_relative 'text_search/active_record_authorization' require_relative 'text_search/sql' require_relative 'text_search/component' require_relative 'text_search/authorization' module ActiveElement module Components # Provides back end for live text search components. module TextSearch @authorized_text_searches = [] class << self attr_reader :authorized_text_searches def register_authorized_text_search(model:, with:, providing:) authorized_text_searches << [model, with, providing] end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems