Module: Elasticquery::Es
- Defined in:
- lib/elasticquery/es.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
22 23 24 25 26 |
# File 'lib/elasticquery/es.rb', line 22 def self.extended(base) unless base.ancestors.include? Elasticsearch::Model raise EsNotSupported.new("Can't extend. It's not Elasticsearch::Model") end end |