Sha256: 0232ac080f376a82e8fda4e67f7e914bdef03d6e5791cc3bb2ef07fb9eca3e2f
Contents?: true
Size: 728 Bytes
Versions: 3
Compression:
Stored size: 728 Bytes
Contents
module ResearchMetadataAnnouncement module Transformer # Extracts dataset metadata from the Pure Research Information System and # converts it into an announcement # class Dataset < ResearchMetadataAnnouncement::Transformer::Base # @param config [Hash] # @option config [String] :url The URL of the Pure host. # @option config [String] :username The username of the Pure host account. # @option config [String] :password The password of the Pure host account. def initialize(config) super make_extractor :dataset end private def prepare_uri strip_uri_scheme @resource.doi if @resource && @resource.doi end end end end
Version data entries
3 entries across 3 versions & 1 rubygems