lib/oneaccess/response/representer/research_document_response.rb in oneaccess-0.1.3 vs lib/oneaccess/response/representer/research_document_response.rb in oneaccess-0.1.4

- old
+ new

@@ -1,14 +1,13 @@ # frozen_string_literal: true + +require_relative "./base_response" require_relative "../../data_object/research_document_info" module ONEAccess module Response module Representer - class ResearchDocumentResponse < Representable::Decorator - include Representable::JSON - - property :api_status_code, as: :ApiStatusCode + class ResearchDocumentResponse < BaseResponse property :data, as: :Data, decorator: DataObject::Representer::ResearchDocumentInfo, class: DataObject::ResearchDocumentInfo end end