Sha256: 3ed69f714917660f8412d286a962f26c8bf32606e80aa5ab5234cb70d2ac3ad1

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://query.yahooapis.com/v1/public/yql?format=json&q=select%20*%20from%20weather.forecast%20where%20woeid=8888888888%20and%20u='c'
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - query.yahooapis.com
  response:
    status:
      code: 200
      message: OK
    headers:
      X-Yql-Host:
      - engine7.yql.gq1.yahoo.com
      X-Content-Type-Options:
      - nosniff
      Access-Control-Allow-Origin:
      - "*"
      Cache-Control:
      - public, max-age=3599
      Content-Type:
      - application/json;charset=utf-8
      Date:
      - Sat, 10 Jan 2015 03:24:03 GMT
      Server:
      - ATS
      Age:
      - '0'
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"query":{"count":1,"created":"2015-01-10T03:24:03Z","lang":"en-US","results":{"channel":{"title":"Yahoo!
        Weather - Error","description":"Yahoo! Weather Error","item":{"title":"City
        not found","description":"\nInvalid Input /forecastrss?u=c&w=8888888888\n"}}}}}'
    http_version: 
  recorded_at: Sat, 10 Jan 2015 03:24:03 GMT
recorded_with: VCR 2.6.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
weather-api-1.2.0 spec/fixtures/cassettes/Weather_Response/should_return_a_RuntimeError_for_an_invalid_WOEID.yml