class Decidim::Meetings::Calendar::OrganizationCalendar

organization and delegates the work to the ‘ComponentCalendar` class.
ICalendar format. It finds the public meeting components for that
This class handles how to convert an organization meetings to the

def components

Returns a collection of Meetings.

Finds the component meetings.
def components
  Decidim::PublicComponents.for(organization, manifest_name: :meetings)
end

def events

Returns a String.

Rails' cache.
Renders the meetings in an ICalendar format. It caches the results in
def events
  @events ||= components.map do |component|
    ComponentCalendar.new(component, @filters).events
  end.compact.join
end