Sha256: 0b0f8530568b7233650d4179cbc55f1927a0eafbfff06a8afcd43c8b32bf700d

Contents?: true

Size: 472 Bytes

Versions: 2

Compression:

Stored size: 472 Bytes

Contents

# frozen_string_literal: true

require_relative '../saml_info'

module ONEAccess
  module DataObject
    module Representer
      class ResearchDocumentInfo < Representable::Decorator
        include Representable::JSON

        property :url, as: :Url, type: String
        property :title, as: :Title, type: String
        property :saml,
          as: :SAML,
          decorator: Representer::SAMLInfo,
          class: DataObject::SAMLInfo
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oneaccess-1.3.1 lib/oneaccess/data_object/representer/research_document_info.rb
oneaccess-1.3.0 lib/oneaccess/data_object/representer/research_document_info.rb