Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

customerlobby / lobbyist-ruby   ruby

Repository URL to install this package:

/ spec / cassettes / contact_find_error.yml

---
http_interactions:
- request:
    method: get
    uri: http://localhost:3000/v1/contacts/2.json?nonce=2015-11-30+22%3A31%3A22+UTC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="fb7a77c3565861cce9b83be9dbd2180b9f882181370b6597e8e8f688819a9ce7"
  response:
    status:
      code: 404
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      cache-control:
      - no-cache
      x-request-id:
      - 63a693b6de9b9672252b00c4c660025c
      x-runtime:
      - '0.306975'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"errors":"Couldn''t find Contact with contact_id=2"}'
    http_version: 
  recorded_at: Mon, 30 Nov 2015 22:31:22 GMT
recorded_with: VCR 3.0.0