spec/cassettes/property.yml in genability-0.2.0 vs spec/cassettes/property.yml in genability-0.3.0

- old
+ new

@@ -1,28 +1,40 @@ ---- -- !ruby/struct:VCR::HTTPInteraction - request: !ruby/struct:VCR::Request +--- +- !ruby/struct:VCR::HTTPInteraction + request: !ruby/struct:VCR::Request method: :get uri: http://api.genability.com:80/rest/public/properties/connectionType?appId=ValidAppID&appKey=ValidAppKey body: - headers: - accept: + headers: + accept: - application/json; charset=utf-8 - user-agent: + user-agent: - Genability API Ruby Gem - accept-encoding: + accept-encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - response: !ruby/struct:VCR::Response - status: !ruby/struct:VCR::ResponseStatus + response: !ruby/struct:VCR::Response + status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK - headers: - server: - - Apache-Coyote/1.1 - content-type: + headers: + access-control-allow-origin: + - ! '*' + content-type: - application/json;charset=utf-8 - transfer-encoding: - - chunked - date: - - Wed, 26 Oct 2011 06:44:57 GMT - body: "{\"status\":\"success\",\"count\":1,\"type\":\"PropertyKey\",\"results\":[{\"keyName\":\"connectionType\",\"displayName\":\"Connection Type\",\"family\":\"service\",\"keyspace\":\"electricity\",\"description\":\"Where/how the service is connected to the grid (e.g. primary, transmission, subtransmission).\",\"dataType\":\"CHOICE\",\"choices\":[{\"value\":\"Secondary Connection\",\"displayValue\":\"Secondary Connection\"},{\"value\":\"Primary Connection\",\"displayValue\":\"Primary Connection\"},{\"value\":\"Subtransmission Connection\",\"displayValue\":\"Subtransmission Connection\"},{\"value\":\"Transmission Connection\",\"displayValue\":\"Transmission Connection\"},{\"value\":\"High Voltage\",\"displayValue\":\"High Voltage\"}]}]}" - http_version: "1.1" + date: + - Sat, 05 May 2012 18:43:44 GMT + server: + - Apache/2.2.16 (Ubuntu) + content-length: + - '780' + connection: + - keep-alive + body: ! '{"status":"success","count":1,"type":"PropertyKey","results":[{"keyName":"connectionType","displayName":"Connection + Type","family":"connection","keyspace":"electricity","description":"Where or + how the service is connected to the grid (e.g. primary, transmission, subtransmission).","dataType":"CHOICE","choices":[{"value":"Secondary + Connection","displayValue":"Secondary Connection"},{"value":"Primary Connection","displayValue":"Primary + Connection"},{"value":"Subtransmission Connection","displayValue":"Subtransmission + Connection"},{"value":"Transmission Connection","displayValue":"Transmission + Connection"},{"value":"High Voltage","displayValue":"High Voltage"},{"value":"Backbone + Transmission (115 kV and Above)","displayValue":"Backbone Transmission (115 + kV and Above)"}]}]}' + http_version: '1.1'