Sha256: 858ed911bc28629cb6b1f782e3d345acfd1e3567058009748c273fa27330fc27
Contents?: true
Size: 459 Bytes
Versions: 23
Compression:
Stored size: 459 Bytes
Contents
format do def limit_param @limit ||= contextual_param(:limit) || default_limit end def offset_param @offset ||= contextual_param(:offset) || 0 end def contextual_param param env_search_param(param) || voo_search_param(param) end def env_search_param param return unless focal? val = Env.params[param] val.present? && val.to_i end def voo_search_param param return unless voo&.wql voo.wql[param] end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
card-1.93.8 | mod/pointer/set/abstract/00_paging_params.rb |
card-1.93.7 | mod/pointer/set/abstract/00_paging_params.rb |
card-1.93.6 | mod/pointer/set/abstract/00_paging_params.rb |