Sha256: be58755bf4065d98f5a1489019592013cf3deff8ddcd5935909c10d4690298c6

Contents?: true

Size: 452 Bytes

Versions: 6

Compression:

Stored size: 452 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

6 entries across 6 versions & 1 rubygems

Version Path
oneaccess-1.2.0 lib/oneaccess/data_object/representer/research_document_info.rb
oneaccess-1.1.0 lib/oneaccess/data_object/representer/research_document_info.rb
oneaccess-1.0.1 lib/oneaccess/data_object/representer/research_document_info.rb
oneaccess-1.0.0 lib/oneaccess/data_object/representer/research_document_info.rb
oneaccess-0.5.0 lib/oneaccess/data_object/representer/research_document_info.rb
oneaccess-0.4.5 lib/oneaccess/data_object/representer/research_document_info.rb