Sha256: 53a2d10edbd498b451f795691f1aa61a8fd63264a82ba2539ca4cc2e627a2e2a

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://firmapi.com/api/v1/company?api_key=secret_api_key&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

3 entries across 3 versions & 1 rubygems

Version Path
firmapi-0.1.4 spec/cassettes/find_single_company_with_invalid_siren.yml
firmapi-0.1.3 spec/cassettes/find_single_company_with_invalid_siren.yml
firmapi-0.1.2 spec/cassettes/find_single_company_with_invalid_siren.yml