Sha256: 596882eeb586b1c480a4eb55106dc8274081d5bf31f881f96ccf7b6dfcc62955
Contents?: true
Size: 253 Bytes
Versions: 3
Compression:
Stored size: 253 Bytes
Contents
module JsonapiCompliable module Util class Pagination def self.zero?(params) params = params[:page] || params['page'] || {} size = params[:size] || params['size'] [0, '0'].include?(size) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems