Sha256: 45b9bcf6bafb33c7bff1e17f30d625a74b7abaed86a8ae606644c0eb04174865

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://bdtest.relais-host.com/portal-service/user/authentication
    body:
      encoding: UTF-8
      string: '{"ApiKey":"DUMMY_BD_API_KEY","PartnershipId":"DUMMY_BD_PARTNERSHIP_ID","UserGroup":"patron","LibrarySymbol":"BAD_SYMBOL","PatronId":"DUMMY_BD_PATRON"}'
    headers:
      User-Agent:
      - ruby borrow_direct gem 1.2.0 (HTTPClient 2.8.0) https://github.com/jrochkind/borrow_direct
      Accept:
      - "*/*"
      Date:
      - Tue, 23 Aug 2016 19:15:35 GMT
      Content-Type:
      - application/json
      Accept-Language:
      - en
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx/1.4.1
      Date:
      - Tue, 23 Aug 2016 19:15:35 GMT
      Content-Type:
      - application/json;charset=UTF-8
      Content-Length:
      - '76'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"ApiKeyOk":false,"Problem":{"Code":"PUBAZ006","Message":"Invalid API
        key"}}'
    http_version: 
  recorded_at: Tue, 23 Aug 2016 19:15:35 GMT
recorded_with: VCR 2.9.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
umlaut_borrow_direct-1.0.2 test/vcr_cassettes/BorrowDirectAdaptor/with_live_connection_to_BD/returns_a_link_when_BD_returns_an_error.yml