Class: Orchestrate::Rails::SearchResult

Inherits:
Application::SearchResult show all
Defined in:
lib/orchestrate_rails/search_result.rb

Overview

Handle search results. See parent class Orchestrate::Application::SearchResult.

Instance Attribute Summary collapse

Attributes inherited from Application::SearchResult

#total_count

Attributes inherited from Application::Result

#count, #next, #response, #results, #status

Method Summary

Methods inherited from Application::Result

#initialize, #result, #result_keys, #success?

Constructor Details

This class inherits a constructor from Orchestrate::Application::Result

Instance Attribute Details

#results=(value) ⇒ Object (writeonly)

Sets the attribute results

Parameters:

  • value

    the value to set the attribute results to.



6
7
8
# File 'lib/orchestrate_rails/search_result.rb', line 6

def results=(value)
  @results = value
end