Class: ROM::Elasticsearch::Plugins::Relation::QueryDSL::Builder

Inherits:
Object
  • Object
show all
Includes:
Elasticsearch::DSL
Defined in:
lib/rom/elasticsearch/plugins/relation/query_dsl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(relation) ⇒ Builder

Returns a new instance of Builder.



45
46
47
# File 'lib/rom/elasticsearch/plugins/relation/query_dsl.rb', line 45

def initialize(relation)
  @relation = relation
end

Instance Attribute Details

#relationObject (readonly)



43
44
45
# File 'lib/rom/elasticsearch/plugins/relation/query_dsl.rb', line 43

def relation
  @relation
end