# frozen_string_literal: true module Crys module Splash module Page class IndexRss include CommonFunctions def initialize(processor:) @main_rss = fetch_rss(name: :main) @processor = processor end def content main_rss end def filename 'index.xml' end private attr_reader :main_rss end end end end @rss = Crys::Splash::Page::IndexRss.new(processor: self)