Class: Typesense::Client
- Inherits:
-
Object
- Object
- Typesense::Client
- Defined in:
- lib/typesense/client.rb
Instance Attribute Summary collapse
-
#aliases ⇒ Object
readonly
Returns the value of attribute aliases.
-
#analytics ⇒ Object
readonly
Returns the value of attribute analytics.
-
#analytics_v1 ⇒ Object
readonly
Returns the value of attribute analytics_v1.
-
#collections ⇒ Object
readonly
Returns the value of attribute collections.
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
-
#curation_sets ⇒ Object
readonly
Returns the value of attribute curation_sets.
-
#debug ⇒ Object
readonly
Returns the value of attribute debug.
-
#health ⇒ Object
readonly
Returns the value of attribute health.
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
-
#metrics ⇒ Object
readonly
Returns the value of attribute metrics.
-
#multi_search ⇒ Object
readonly
Returns the value of attribute multi_search.
-
#nl_search_models ⇒ Object
readonly
Returns the value of attribute nl_search_models.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#presets ⇒ Object
readonly
Returns the value of attribute presets.
-
#stats ⇒ Object
readonly
Returns the value of attribute stats.
-
#stemming ⇒ Object
readonly
Returns the value of attribute stemming.
-
#synonym_sets ⇒ Object
readonly
Returns the value of attribute synonym_sets.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/typesense/client.rb', line 8 def initialize( = {}) @configuration = Configuration.new() @api_call = ApiCall.new(@configuration) @collections = Collections.new(@api_call) @aliases = Aliases.new(@api_call) @keys = Keys.new(@api_call) @multi_search = MultiSearch.new(@api_call) @debug = Debug.new(@api_call) @health = Health.new(@api_call) @metrics = Metrics.new(@api_call) @stats = Stats.new(@api_call) @operations = Operations.new(@api_call) @analytics = Analytics.new(@api_call) @analytics_v1 = AnalyticsV1.new(@api_call) @stemming = Stemming.new(@api_call) @presets = Presets.new(@api_call) @nl_search_models = NlSearchModels.new(@api_call) @synonym_sets = SynonymSets.new(@api_call) @curation_sets = CurationSets.new(@api_call) end |
Instance Attribute Details
#aliases ⇒ Object (readonly)
Returns the value of attribute aliases.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def aliases @aliases end |
#analytics ⇒ Object (readonly)
Returns the value of attribute analytics.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def analytics @analytics end |
#analytics_v1 ⇒ Object (readonly)
Returns the value of attribute analytics_v1.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def analytics_v1 @analytics_v1 end |
#collections ⇒ Object (readonly)
Returns the value of attribute collections.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def collections @collections end |
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def configuration @configuration end |
#curation_sets ⇒ Object (readonly)
Returns the value of attribute curation_sets.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def curation_sets @curation_sets end |
#debug ⇒ Object (readonly)
Returns the value of attribute debug.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def debug @debug end |
#health ⇒ Object (readonly)
Returns the value of attribute health.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def health @health end |
#keys ⇒ Object (readonly)
Returns the value of attribute keys.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def keys @keys end |
#metrics ⇒ Object (readonly)
Returns the value of attribute metrics.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def metrics @metrics end |
#multi_search ⇒ Object (readonly)
Returns the value of attribute multi_search.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def multi_search @multi_search end |
#nl_search_models ⇒ Object (readonly)
Returns the value of attribute nl_search_models.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def nl_search_models @nl_search_models end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def operations @operations end |
#presets ⇒ Object (readonly)
Returns the value of attribute presets.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def presets @presets end |
#stats ⇒ Object (readonly)
Returns the value of attribute stats.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def stats @stats end |
#stemming ⇒ Object (readonly)
Returns the value of attribute stemming.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def stemming @stemming end |
#synonym_sets ⇒ Object (readonly)
Returns the value of attribute synonym_sets.
5 6 7 |
# File 'lib/typesense/client.rb', line 5 def synonym_sets @synonym_sets end |