Sha256: 89c9d24ff46d460c6e7d04d196e5109816373503d32ffc04ed60be6bfb43b404
Contents?: true
Size: 334 Bytes
Versions: 11
Compression:
Stored size: 334 Bytes
Contents
module Cms # Captures values for the search form. class SearchFilter include ::ActiveModel::Model attr_accessor :model_class, :term def self.build(params_hash, model_class) model = self.new(params_hash) model.model_class = model_class model end def path model_class end end end
Version data entries
11 entries across 11 versions & 2 rubygems