Class: MongoidOccurrenceViews::Event::CreateExpandedOccurrencesView
- Inherits:
-
CreateView
- Object
- CreateView
- MongoidOccurrenceViews::Event::CreateExpandedOccurrencesView
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
Instance Method Details
#pipeline ⇒ Object
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_name ⇒ Object
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
|