lib/oneaccess/response/representer/research_document_response.rb in oneaccess-1.2.0 vs lib/oneaccess/response/representer/research_document_response.rb in oneaccess-1.3.0

- old
+ new

@@ -1,16 +1,17 @@ # frozen_string_literal: true -require_relative "./base_response" -require_relative "../../data_object/research_document_info" +require_relative './base_response' +require_relative '../../data_object/research_document_info' module ONEAccess module Response module Representer class ResearchDocumentResponse < BaseResponse - property :data, as: :Data, - decorator: DataObject::Representer::ResearchDocumentInfo, - class: DataObject::ResearchDocumentInfo + property :data, + as: :Data, + decorator: DataObject::Representer::ResearchDocumentInfo, + class: DataObject::ResearchDocumentInfo end end end end