Method: Contentstack::Query#include_schema
- Defined in:
- lib/contentstack/query.rb
#include_schema(flag = true) ⇒ Contentstack::Query
Include schemas of all returned objects along with objects themselves.
Example
@query = @stack.content_type('product').query
@query.include_schema
497 498 499 500 |
# File 'lib/contentstack/query.rb', line 497 def include_schema(flag=true) @query[:include_schema] = flag self end |