Sha256: 193141babacdeee62281313b87d37b3f7739940201d8811e7259889ab8b5f9c8
Contents?: true
Size: 917 Bytes
Versions: 9
Compression:
Stored size: 917 Bytes
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class Abstract # Set: Abstract (PagingParams) # module PagingParams; extend Card::Set def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/pointer/set/abstract/00_paging_params.rb"; end module Format; parent.send :register_set_format, Card::Format, self; extend Card::Set::AbstractFormat 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 end;end;end;end; # ~~ generated from /Users/ethan/dev/decko/gem/card/mod/pointer/set/abstract/00_paging_params.rb ~~
Version data entries
9 entries across 9 versions & 1 rubygems