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