Sha256: 04afa5d4001ded372d98757d59598eaa4cfaa3f0bb9879d168b65822ac2379ce

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://test:test@mds.datacite.org/metadata/10.5072/MY_TEST
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 04 Nov 2014 13:46:11 GMT
      Cache-Control:
      - no-cache
      - no-store
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Pragma:
      - no-cache
      Content-Type:
      - application/xml;charset=UTF-8
      Content-Length:
      - '821'
    body:
      encoding: UTF-8
      string: |
        <resource xmlns="http://datacite.org/schema/kernel-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd">
        <identifier identifierType="DOI">10.5072/my_test</identifier>
        <creators>
        <creator>
        <creatorName>First, Last</creatorName>
        </creator>
        </creators>
        <titles>
        <title>For testing</title>
        </titles>
        <publisher>ABC</publisher>
        <publicationYear>2013</publicationYear>
        <subjects>
        <subject>Assessment</subject>
        <subject>Information Literacy</subject>
        <subject>Engineering</subject>
        </subjects>
        <language>eng</language>
        <resourceType resourceTypeGeneral="Dataset">Dataset</resourceType>
        <version>1</version>
        <descriptions>
        <description descriptionType="Abstract">
        A test
        </description>
        </descriptions>
        </resource>
    http_version:
  recorded_at: Tue, 04 Nov 2014 13:46:14 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datacite_doi_ify-1.0.0 spec/cassettes/retrieve_metadata/returns_metadata_associated_with_a_given_DOI.yml
datacite_doi_ify-0.0.1 spec/cassettes/retrieve_metadata/returns_metadata_associated_with_a_given_DOI.yml