Class: MakeTaggable::Taggable::TaggedWithQuery::QueryBase

Inherits:
Object
  • Object
show all
Defined in:
lib/make_taggable/taggable/tagged_with_query/query_base.rb

Direct Known Subclasses

AllTagsQuery, AnyTagsQuery, ExcludeTagsQuery

Instance Method Summary collapse

Constructor Details

#initialize(taggable_model, tag_model, tagging_model, tag_list, options) ⇒ QueryBase

Returns a new instance of QueryBase.



3
4
5
6
7
8
9
# File 'lib/make_taggable/taggable/tagged_with_query/query_base.rb', line 3

def initialize(taggable_model, tag_model, tagging_model, tag_list, options)
  @taggable_model = taggable_model
  @tag_model = tag_model
  @tagging_model = tagging_model
  @tag_list = tag_list
  @options = options
end