Class: Enums::SortOrders
- Inherits:
-
Object
- Object
- Enums::SortOrders
- Defined in:
- lib/enums/sort_orders.rb
Overview
Enumerator class for sort ordering
Class Method Summary collapse
-
.asc ⇒ SortOrders
SortOrders object corresponding to elasticsearch option of ‘asc’.
-
.desc ⇒ SortOrders
SortOrders object corresponding to elasticsearch option of ‘desc’.
Class Method Details
.asc ⇒ SortOrders
Returns SortOrders object corresponding to elasticsearch option of ‘asc’.
|
# File 'lib/enums/sort_orders.rb', line 18
|
.desc ⇒ SortOrders
Returns SortOrders object corresponding to elasticsearch option of ‘desc’.
|
# File 'lib/enums/sort_orders.rb', line 23
|