class Conquiro::Criteria

Constants

DEFAULT_COUNTRY

Public Instance Methods

country() click to toggle source
Calls superclass method
# File lib/conquiro/criteria.rb, line 12
def country
  super || DEFAULT_COUNTRY
end
params() click to toggle source
# File lib/conquiro/criteria.rb, line 16
def params
  self.to_h.select { |_,value| value.present? }
end
term() click to toggle source
Calls superclass method
# File lib/conquiro/criteria.rb, line 20
def term
  CGI.escape(super || '')
end