module SpecPdfMapper def self.map_fields(response) return {} unless file_contents = response['spec_pdf']['file_contents'] return { file_contents: file_contents } end end