about summary refs log tree commit diff
path: root/app/services/concerns/stream_entry_renderer.rb
blob: 9f6c8a082aed307f16306251276be56417f84fe6 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

module StreamEntryRenderer
  def stream_entry_to_xml(stream_entry)
    OStatus::AtomSerializer.render(OStatus::AtomSerializer.new.entry(stream_entry, true))
  end
end