Module: Inquery::Mixins::SchemaValidation::ClassMethods
- Defined in:
- lib/inquery/mixins/schema_validation.rb
Instance Method Summary collapse
Instance Method Details
#schema(*args, &block) ⇒ Object
12 13 14 15 16 |
# File 'lib/inquery/mixins/schema_validation.rb', line 12 def schema(*args, &block) schema = Schemacop::Schema.new(*args, &block) self._schema = schema end |