Skip to content

Instantly share code, notes, and snippets.

@myronmarston
Created May 8, 2010 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myronmarston/394633 to your computer and use it in GitHub Desktop.
Save myronmarston/394633 to your computer and use it in GitHub Desktop.
---
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :get
uri: http://maps.google.com:80/maps/geo?q=Seattle%2C+WA&output=xml&key=ABQIAAAAM1mKqHK9XdhE_YEkQ7oqnhR8EBP7TfhOOIrsLnV5Hk7LABXvFhRRL3Y8fJfBk0KFeIkQgKLdCVcFCQ&oe=utf-8
body:
headers:
accept:
- "*/*"
host:
- maps.google.com
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
vary:
- Accept-Language
cache-control:
- private, x-gzip-ok=""
content-type:
- text/xml; charset=UTF-8
date:
- Thu, 29 Apr 2010 15:22:58 GMT
server:
- mafe
transfer-encoding:
- chunked
body: !str
str: |
<?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://earth.google.com/kml/2.0"><Response>
<name>Seattle, WA</name>
<Status>
<code>200</code>
<request>geocode</request>
</Status>
<Placemark id="p1">
<address>Seattle, WA, USA</address>
<AddressDetails Accuracy="4" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"><Country><CountryNameCode>US</CountryNameCode><CountryName>USA</CountryName><AdministrativeArea><AdministrativeAreaName>WA</AdministrativeAreaName><SubAdministrativeArea><SubAdministrativeAreaName>King</SubAdministrativeAreaName><Locality><LocalityName>Seattle</LocalityName></Locality></SubAdministrativeArea></AdministrativeArea></Country></AddressDetails>
<ExtendedData>
<LatLonBox north="47.7264385" south="47.4857035" east="-122.0759520" west="-122.5881896" />
</ExtendedData>
<Point><coordinates>-122.3320708,47.6062095,0</coordinates></Point>
</Placemark>
</Response></kml>
"@_rails_html_safe": false
http_version: "1.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment