sanger/sequencescape

View on GitHub
app/views/studies/index.xml.builder

Summary

Maintainability
Test Coverage
# frozen_string_literal: true
xml.instruct!
xml.studies(type: 'array') do
  @studies.each do |study|
    xml.study do
      xml.id study.id
      xml.name study.name
    end
  end
end