--- http_interactions: - request: method: get uri: https://api.zeropush.com/verify_credentials body: encoding: US-ASCII string: '' headers: Authorization: - Token token="test_token" User-Agent: - Faraday v0.8.8 response: status: code: 200 message: headers: server: - !binary |- bmdpbngvMS4yLjY= date: - !binary |- VGh1LCAwNiBKdW4gMjAxMyAyMDoxMzoxOCBHTVQ= content-type: - !binary |- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== transfer-encoding: - !binary |- Y2h1bmtlZA== connection: - !binary |- Y2xvc2U= status: - !binary |- MjAwIE9L strict-transport-security: - !binary |- bWF4LWFnZT0zMTUzNjAwMA== x-ua-compatible: - !binary |- SUU9RWRnZSxjaHJvbWU9MQ== etag: - !binary |- ImJiYzAwYmM1Nzg4ZDY0MTNhMjhkMTY4M2IwYTMzMGEzIg== cache-control: - !binary |- bXVzdC1yZXZhbGlkYXRlLCBwcml2YXRlLCBtYXgtYWdlPTA= x-request-id: - !binary |- M2ZjZDgzNGQyM2ZhM2M4YjdlODExMzQ4NTRjYjhmMjI= x-runtime: - !binary |- MC4wMDY5Mjk= x-rack-cache: - !binary |- bWlzcw== x-powered-by: - !binary |- UGh1c2lvbiBQYXNzZW5nZXIgNC4wLjI= body: encoding: ASCII-8BIT string: !binary |- eyJtZXNzYWdlIjoiYXV0aGVudGljYXRlZCJ9 http_version: recorded_at: Thu, 06 Jun 2013 20:13:18 GMT - request: method: get uri: https://api.zeropush.com/verify_credentials body: encoding: US-ASCII string: '' headers: Authorization: - Token token="not a valid token" User-Agent: - Faraday v0.8.8 response: status: code: 401 message: headers: server: - nginx/1.2.6 date: - Thu, 06 Jun 2013 20:13:18 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 401 Unauthorized strict-transport-security: - max-age=31536000 x-ua-compatible: - IE=Edge,chrome=1 cache-control: - no-cache, private x-request-id: - 091630dcd5d1e8c4a8cbe821940c8747 x-runtime: - '0.004298' x-rack-cache: - miss x-powered-by: - Phusion Passenger 4.0.2 body: encoding: US-ASCII string: ! '{"error":"unauthorized"}' http_version: recorded_at: Thu, 06 Jun 2013 20:13:19 GMT recorded_with: VCR 2.4.0