Sha256: b5893087cac403d331cb13dfa3904d953ce6b84943bdf3ac2cb2f9a664a2857f

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://www.theyworkforyou.com/api/getConstituency?key=<API_KEY>&postcode=IP6%209PN&version=1.0.0
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Tue, 26 Jul 2016 02:48:18 GMT
      Content-Type:
      - text/javascript; charset=iso-8859-1
      Content-Length:
      - '274'
      Connection:
      - keep-alive
      Access-Control-Allow-Origin:
      - "*"
      X-Url:
      - "/api/getConstituency?postcode=IP6+9PN&key=<API_KEY>&version=1.0.0"
      Accept-Ranges:
      - bytes
      Age:
      - '0'
    body:
      encoding: UTF-8
      string: '{"bbc_constituency_id":"553","guardian_election_results":"http://www.guardian.co.uk/politics/constituency/802/suffolk-central-and-ipswich-north","guardian_id":"802","guardian_name":"Suffolk
        Central and Ipswich North","pa_id":"547","name":"Central Suffolk and North
        Ipswich"}'
    http_version: 
  recorded_at: Tue, 26 Jul 2016 02:48:18 GMT
recorded_with: VCR 3.0.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twfy-1.1.1 test/fixtures/vcr_cassettes/Twfy_Client/constituency/works.yml