Sha256: a4261019468e37e4edd3296151805bc0f2eabd3c9e6483d86156f9a86300cd0e

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://firmapi.com/api/v1/company?api_key=123456&siren=INVALID%20SIREN
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - '*/*'
  response:
    status:
      code: 404
      message: Not Found
    headers:
      Server:
      - nginx/1.4.1 (Ubuntu)
      Date:
      - Fri, 06 Jun 2014 12:58:53 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Cache-Control:
      - no-cache
      Set-Cookie:
      - request_method=GET; path=/
      X-Request-Id:
      - 21e616b5-5e88-46ef-8b80-cab5f520eb4a
      X-Runtime:
      - '0.073416'
    body:
      encoding: UTF-8
      string: '{"input":{"siren":"INVALID SIREN"},"result":{"response":"fail","error":"Company
        not found","description":"No company where found by this siren."}}'
    http_version:
  recorded_at: Fri, 06 Jun 2014 12:58:53 GMT
recorded_with: VCR 2.9.2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
firmapi-0.1 spec/cassettes/find_single_company_with_invalid_siren.yml