Method: AzureSearch::IndexSearchOptions#order_by
- Defined in:
- lib/azure_search/index_search_options.rb
#order_by(val) ⇒ self
Sets the list of comma-separated expressions to sort the results by.
33 34 35 36 37 |
# File 'lib/azure_search/index_search_options.rb', line 33 def order_by(val) raise "order_by requires a String." unless val.is_a? String @orderby = val self end |