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

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