interactions:
- request:
    body: '{"_links": [{"href": "https://sandbox.emites.com.br/api/v1/takers/10",
      "method": "GET", "rel": "self"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/10",
      "method": "PUT", "rel": "update"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/10",
      "method": "PATCH", "rel": "partial_update"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/10",
      "mehod": "DELETE", "rel": "destroy"}], "account_id": 56, "address": {"city":
      "Rio de Janeiro", "city_code": 3304557, "city_code_desc": null, "complement":
      null, "country": "Brasil", "country_abbreviation": "BR", "country_code": "01058",
      "neighborhood": "Centro", "neighborhood_type": "COM", "number": "42", "reference_point":
      null, "state": "RJ", "street": "dos testes", "street_type": "RUA", "zip_code":
      "20011020"}, "city_inscription": "1111111", "cnpj": "91762868000184", "contact":
      {"email": "financeiro@python-emites.test", "phone": "21000000000"}, "cpf": null,
      "fancy_name": "Empresa de Testes", "foreign_taker": false, "id": 10, "social_reason":
      "Empresa de Testes Ltda ME", "special_situation": 0, "state_inscription": "ISENTO",
      "substitute_state_inscription": null, "url": "https://sandbox.emites.com.br/api/v1/takers/10"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Basic Njg1MTY3RDQxOTBEOTRBOTQ2MTk0ODdBMTA2NTYxRTc6]
      Cache-Control: [no-cache]
      Connection: [keep-alive]
      Content-Length: ['1192']
      Content-Type: [application/json]
      User-Agent: [python-emites]
    method: PUT
    uri: https://sandbox.emites.com.br:443/api/v1/takers/10
  response:
    body:
      string: !!binary |
        H4sIAAAAAAAAA61UTW+cMBD9K8jndPnI7mabU9MtahslTZWSU1UhA0NxA7Zlm6h0tf+9MwZWNL0u
        4gDjmXlv3jw4sLwV8tmy6+D7gTUGanxijXPaXoeh5bIq1O8VdMKBXZWqWxUm5FqEL3Ho+DMYG8YR
        uwhYB65RFdV+TDMKGGjpzUJbs+NFcJ7eX5+WvXtdcQdn7H6T7T8tuGtunOBtfi6cSaAP6V2apQuc
        CqwzamDHH6gbryoDlvZxYBgGcCRjpWyAG8Cb6mTfFWAovk7oHfeiW+hAUq7s25ZyQPxsCmUaNa5l
        j6dG+WzhhrxUFWDy5WW03myuMGodaYktH28p6Y/Qcw5LoiiOo8TveaSUu0GPyU83ntAC7HS2f7if
        4XxfoYIKgluOySMRNBsYkCXkWokl91L1SHagqveGW9GOQ/rgiVUUR5vd8oAXhYEXwZ1Q0pc+/jNt
        jjKXkz5oSBRNOl6SYgemGyX9PEkczRcVQ8cRHOO1kByJIvF3ekCnyzfTJ0FLIQcyQeaPI3zipeef
        +8hmS1CavqppMaXUv6jl2/hqm+y2O8SLd+sTVSFtaYSeh4jHa5QeN5S/Ov/8Lf2SPfhjVZJZDXA7
        zp92Gp3ESfTMWye4cxUP7r31ahxnyCXv/Nj/pfqGfWGdcD2CenO8gp7GsRo8rsXMWXpSoVYGTSFz
        /5dAjJq3Fo5/AX5QZBJvBAAA
    headers:
      allow: ['GET, PUT, PATCH, DELETE, HEAD, OPTIONS']
      connection: [keep-alive]
      content-encoding: [gzip]
      content-length: ['531']
      content-type: [application/json]
      date: ['Mon, 10 Nov 2014 22:33:32 GMT']
      server: [nginx/1.4.7]
      user-agent: [emites-sandbox-v1]
      vary: [Accept-Encoding, 'Accept, Cookie']
      x-frame-options: [SAMEORIGIN]
    status: {code: 200, message: OK}
version: 1
