Sha256: e93cb2bce26c9b8681f0b1291bf719c6af2e1de150316ab7e5db44adf0abf67d

Contents?: true

Size: 524 Bytes

Versions: 4

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true
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
        property :data, as:        :Data,
                        decorator: DataObject::Representer::ResearchDocumentInfo,
                        class:     DataObject::ResearchDocumentInfo
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oneaccess-0.1.3 lib/oneaccess/response/representer/research_document_response.rb
oneaccess-0.1.2 lib/oneaccess/response/representer/research_document_response.rb
oneaccess-0.1.1 lib/oneaccess/response/representer/research_document_response.rb
oneaccess-0.1.0 lib/oneaccess/response/representer/research_document_response.rb