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