Module: Runes::Base
- Defined in:
- lib/runes/base.rb
Class Method Summary collapse
Class Method Details
.actors ⇒ Object
9 10 11 |
# File 'lib/runes/base.rb', line 9 def actors @actors end |
.search(query, index) ⇒ Object
13 14 15 |
# File 'lib/runes/base.rb', line 13 def search(query, index) $es_client.search(query, :index => index) end |
.set_actor(model) ⇒ Object
4 5 6 7 |
# File 'lib/runes/base.rb', line 4 def set_actor(model) @actors ||= [] @actors << model end |