module ElasticRecord::Model

Public Instance Methods

arelastic() click to toggle source
# File lib/elastic_record/model.rb, line 48
def arelastic
  self.class.arelastic
end
elastic_index() click to toggle source
# File lib/elastic_record/model.rb, line 52
def elastic_index
  self.class.elastic_index
end
index_to_elasticsearch() click to toggle source
# File lib/elastic_record/model.rb, line 44
def index_to_elasticsearch
  elastic_index.index_record(self)
end