Sha256: 33bca53fe849f528a23da4d896c31d3933494997ef92b9f71fca2bbf574e49d7

Contents?: true

Size: 1.91 KB

Versions: 7

Compression:

Stored size: 1.91 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://sandbox.emites.com.br/api/v1/takers?cnpj=01001001000113
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Emites Ruby Client v0.0.2
      Accept:
      - application/json
      Content-Type:
      - application/json
  response:
    status:
      code: 200
      message: OK
    headers:
      Allow:
      - GET, POST, HEAD, OPTIONS
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json
      Date:
      - Fri, 28 Aug 2015 13:12:45 GMT
      Server:
      - nginx/1.6.2
      User-Agent:
      - emites-sandbox-v1
      Vary:
      - Accept-Encoding
      - Cookie
      X-Frame-Options:
      - SAMEORIGIN
      Content-Length:
      - '365'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"count": 1, "next": null, "previous": null, "collection": [{"_links":
        [{"href": "https://sandbox.emites.com.br/api/v1/takers/135", "method": "GET",
        "rel": "self"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/135",
        "method": "PUT", "rel": "update"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/135",
        "method": "PATCH", "rel": "partial_update"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/135",
        "method": "DELETE", "rel": "destroy"}], "address": null, "contact": null,
        "id": 135, "account_id": 4, "is_complete": true, "cpf": null, "cnpj": "01001001000113",
        "city_inscription": "3304557", "state_inscription": null, "social_reason":
        "My Fake, Inc", "fancy_name": "My Fake", "substitute_state_inscription": null,
        "special_situation": null, "foreign_taker": false, "person_type": null}]}'
    http_version: '1.1'
    adapter_metadata:
      effective_url: https://sandbox.emites.com.br/api/v1/takers?cnpj=01001001000113
  recorded_at: Fri, 28 Aug 2015 13:12:45 GMT
recorded_with: VCR 2.9.3

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
emites-client-0.1.4 spec/vcr_cassettes/takers/search/success.yml
emites-client-0.1.3 spec/vcr_cassettes/takers/search/success.yml
emites-client-0.1.2 spec/vcr_cassettes/takers/search/success.yml
emites-client-0.1.1 spec/vcr_cassettes/takers/search/success.yml
emites-client-0.1.0 spec/vcr_cassettes/takers/search/success.yml
emites-client-0.0.4 spec/vcr_cassettes/takers/search/success.yml
emites-client-0.0.3 spec/vcr_cassettes/takers/search/success.yml