Module: Inquery::Mixins::RelationValidation::ClassMethods
- Defined in:
- lib/inquery/mixins/relation_validation.rb
Instance Method Summary collapse
-
#relation(options = {}) ⇒ Object
Allows to configure the parameters of the relation this query operates on.
Instance Method Details
#relation(options = {}) ⇒ Object
Allows to configure the parameters of the relation this query operates on. See OPTIONS_SCHEMA for documentation of the options hash.
55 56 57 58 |
# File 'lib/inquery/mixins/relation_validation.rb', line 55 def relation( = {}) OPTIONS_SCHEMA.validate!() self. = end |