Class: Summon::Schema
Direct Known Subclasses
Availability, Citation, DatabaseRecommendation, Date, Document, Error, Facet, FacetCount, FacetValueFilter, FacetValueGroupFilter, FacetValueGroupFilterValue, Query, Range, RangeCount, RangeFacet, RangeFilter, RecommendationList, Search, Sort, Suggestion
Defined Under Namespace
Modules: ClassMethods, Initializer, InstanceMethods Classes: Attr
Class Method Summary collapse
Class Method Details
.inherited(mod) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/summon/schema.rb', line 4 def self.inherited(mod) class << mod include Summon::Schema::Initializer include Summon::Schema::ClassMethods end mod.module_eval do include Summon::Schema::InstanceMethods end mod.summon! end |