Sha256: d7555e653f88e01766ede489abf8480c0e472449fb20a15161e7474bfa1a8b32
Contents?: true
Size: 346 Bytes
Versions: 29
Compression:
Stored size: 346 Bytes
Contents
module RestPack::Serializer::Sortable extend ActiveSupport::Concern module ClassMethods attr_reader :serializable_sorting_attributes def can_sort_by(*attributes) @serializable_sorting_attributes = [] attributes.each do |attribute| @serializable_sorting_attributes << attribute.to_sym end end end end
Version data entries
29 entries across 29 versions & 1 rubygems