class Sorting::Student::BySignupDate

Public Class Methods

order_by(ordering) click to toggle source
# File lib/mumuki/classroom/models/sorting/student.rb, line 30
def self.order_by(ordering)
  {'created_at': !ordering,
   'last_name': ordering,
   'first_name': ordering}
end