Class: MongoidOccurrenceViews::Event::CreateExpandedOccurrencesView

Inherits:
CreateView
  • Object
show all
Defined in:
lib/mongoid_occurrence_views/event/create_expanded_occurrences_view.rb

Instance Method Summary collapse

Methods inherited from CreateView

#call, call, #initialize

Constructor Details

This class inherits a constructor from MongoidOccurrenceViews::Event::CreateView

Instance Method Details

#pipelineObject



8
9
10
11
12
# File 'lib/mongoid_occurrence_views/event/create_expanded_occurrences_view.rb', line 8

def pipeline
  [add_fields,
   unwind_associations_to_parent,
   add_datetime_fields].flatten
end

#view_nameObject



4
5
6
# File 'lib/mongoid_occurrence_views/event/create_expanded_occurrences_view.rb', line 4

def view_name
  klass.expanded_occurrences_view_name
end