Module: Goodyear::ElasticQuery
- Defined in:
- lib/goodyear.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
12 13 14 |
# File 'lib/goodyear.rb', line 12 def self.included(base) base.extend(Goodyear::QueryMethods) end |
Instance Method Details
#escape_id ⇒ Object
16 17 18 |
# File 'lib/goodyear.rb', line 16 def escape_id id.gsub('-','\\-') end |