Class: CafeCar::Model::SortKey
- Inherits:
-
Data
- Object
- Data
- CafeCar::Model::SortKey
- Defined in:
- lib/cafe_car/model.rb
Overview
A validated sort term: an Arel/hash order argument plus the association to
left_outer_joins (nil for a plain column) so the qualified ORDER BY resolves.
Instance Attribute Summary collapse
-
#join ⇒ Object
readonly
Returns the value of attribute join.
-
#order ⇒ Object
readonly
Returns the value of attribute order.
Instance Attribute Details
#join ⇒ Object (readonly)
Returns the value of attribute join
9 10 11 |
# File 'lib/cafe_car/model.rb', line 9 def join @join end |
#order ⇒ Object (readonly)
Returns the value of attribute order
9 10 11 |
# File 'lib/cafe_car/model.rb', line 9 def order @order end |