Sha256: 80911f727f38a42975db16be019c125ba421d253aaaafbebc47ea47b316edeb2

Contents?: true

Size: 1.11 KB

Versions: 5

Compression:

Stored size: 1.11 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://bdtest.relais-host.com/dws/item/available
    body:
      encoding: UTF-8
      string: ! '{"PartnershipId":"BD","Credentials":{"LibrarySymbol":"BAD_SYMBOL","Barcode":"DUMMY_BD_PATRON"},"ExactSearch":[{"Type":"ISBN","Value":"9789810743734"}]}'
    headers:
      User-Agent:
      - ruby borrow_direct gem 0.9.1 (HTTPClient 2.5.3.2) https://github.com/jrochkind/borrow_direct
      Accept:
      - ! '*/*'
      Date:
      - Wed, 14 Jan 2015 21:00:36 GMT
      Content-Type:
      - application/json
      Accept-Language:
      - en
  response:
    status:
      code: 500
      message: Server Error
    headers:
      Server:
      - nginx/1.4.1
      Date:
      - Wed, 14 Jan 2015 21:00:36 GMT
      Content-Type:
      - application/json;charset=UTF-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
    body:
      encoding: US-ASCII
      string: ! '{"Error":{"ErrorNumber":"PUBAN005","ErrorMessage":"Invalid library
        symbol"}}'
    http_version: 
  recorded_at: Wed, 14 Jan 2015 21:00:36 GMT
recorded_with: VCR 2.9.3

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
umlaut_borrow_direct-1.0.1 test/vcr_cassettes/BorrowDirectAdaptor/with_live_connection_to_BD/returns_a_link_when_BD_returns_an_error.yml
umlaut_borrow_direct-1.0.0 test/vcr_cassettes/BorrowDirectAdaptor/with_live_connection_to_BD/returns_a_link_when_BD_returns_an_error.yml
umlaut_borrow_direct-1.0.0.pre3 test/vcr_cassettes/BorrowDirectAdaptor/with_live_connection_to_BD/returns_a_link_when_BD_returns_an_error.yml
umlaut_borrow_direct-1.0.0.pre2 test/vcr_cassettes/BorrowDirectAdaptor/with_live_connection_to_BD/returns_a_link_when_BD_returns_an_error.yml
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/vcr_cassettes/BorrowDirectAdaptor/with_live_connection_to_BD/returns_a_link_when_BD_returns_an_error.yml