Module: Eson::Shared::DeleteByQuery
- Extended by:
- API
- Defined in:
- lib/eson/shared/core/delete_by_query.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Methods included from API
multi_index, multi_types, no_indices, parameters, register, source_param
Methods included from Chainable
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/eson/shared/core/delete_by_query.rb', line 6 def type @type end |
Instance Method Details
#types ⇒ Object
38 39 40 41 42 43 44 45 46 |
# File 'lib/eson/shared/core/delete_by_query.rb', line 38 def types if @types Array(@types) elsif type Array(type) else [] end end |