Method: Contentstack::Query#tags
- Defined in:
- lib/contentstack/query.rb
#tags(tags_array) ⇒ Contentstack::Query
Include tags with which to search entries.
Example
@query = @stack.content_type('product').query
@query.(["tag1", "tag2"])
601 602 603 604 |
# File 'lib/contentstack/query.rb', line 601 def () @query[:tags] = self end |