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.
48 49 50 51 |
# File 'lib/inquery/mixins/relation_validation.rb', line 48 def relation( = {}) Schemacop.validate!(OPTIONS_SCHEMA, ) self. = end |