--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: http://api.genability.com:80/rest/public/territories?appId=ValidAppID&appKey=ValidAppKey&lseId=734 body: headers: accept: - application/json; charset=utf-8 user-agent: - Genability API Ruby Gem accept-encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: access-control-allow-origin: - ! '*' content-type: - application/json;charset=utf-8 date: - Sat, 05 May 2012 18:43:44 GMT server: - Apache/2.2.16 (Ubuntu) transfer-encoding: - chunked connection: - keep-alive body: ! '{"status":"success","count":11,"type":"Territory","results":[{"territoryId":807,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":null,"territoryName":"Service area for CA","usageType":"SERVICE","itemTypes":"COUNTY","deregRes":false,"deregCandi":false},{"territoryId":3534,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region P","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3535,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region Q","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3536,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region R","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3537,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region S","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3538,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region T","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3539,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region V","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3540,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region W","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3541,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region X","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3542,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region Y","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false},{"territoryId":3543,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region Z","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false}]}' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: http://api.genability.com:80/rest/public/territories?appId=ValidAppID&appKey=ValidAppKey&containsItemType=ZIPCODE&containsItemValue=94115&lseId=734&masterTariffId=522 body: headers: accept: - application/json; charset=utf-8 user-agent: - Genability API Ruby Gem accept-encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: access-control-allow-origin: - ! '*' content-type: - application/json;charset=utf-8 date: - Sat, 05 May 2012 18:43:44 GMT server: - Apache/2.2.16 (Ubuntu) transfer-encoding: - chunked connection: - keep-alive body: ! '{"status":"success","count":1,"type":"Territory","results":[{"territoryId":3538,"lseId":734,"lseName":"Pacific Gas & Electric Co","parentTerritoryId":807,"territoryName":"Baseline Region T","usageType":"TARIFF","itemTypes":"ZIPCODE","deregRes":false,"deregCandi":false}]}' http_version: '1.1'