Sha256: 299eb8eb87a0f66336bb52c32767dab1d360bd076436f5f0d2d9353f9ad8970b
Contents?: true
Size: 357 Bytes
Versions: 26
Compression:
Stored size: 357 Bytes
Contents
module CloudSesame module Query module DSL module SortMethods def sort(input = false) if input.is_a? Hash request.sort.sorting_attributes = input return self elsif input request.sort[input] elsif input.nil? return self else request.sort.sorting_attributes end end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems