Class: ROM::Elasticsearch::Plugins::Relation::QueryDSL::Builder
- Inherits:
-
Object
- Object
- ROM::Elasticsearch::Plugins::Relation::QueryDSL::Builder
- Includes:
- Elasticsearch::DSL
- Defined in:
- lib/rom/elasticsearch/plugins/relation/query_dsl.rb
Instance Attribute Summary collapse
- #relation ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(relation) ⇒ Builder
constructor
A new instance of Builder.
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
#relation ⇒ Object (readonly)
43 44 45 |
# File 'lib/rom/elasticsearch/plugins/relation/query_dsl.rb', line 43 def relation @relation end |