spec/cassettes/prices.yml in genability-0.1.0 vs spec/cassettes/prices.yml in genability-0.2.0

- old
+ new

@@ -1,10 +1,10 @@ --- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get - uri: http://api.genability.com:80/rest/public/prices/520.json?appId=ValidAppID&appKey=ValidAppKey&fromDateTime=2011-07-01T09:38:22.7-0400 + uri: http://api.genability.com:80/rest/public/prices/520?appId=ValidAppID&appKey=ValidAppKey&fromDateTime=2011-07-01T09:38:22.7-0400 body: headers: accept: - application/json; charset=utf-8 user-agent: @@ -21,17 +21,17 @@ content-type: - application/json;charset=utf-8 transfer-encoding: - chunked date: - - Fri, 01 Jul 2011 18:52:48 GMT - body: "{\"status\":\"success\",\"count\":2,\"type\":\"TariffRateSummary\",\"results\":[{\"tariffId\":520,\"chargeType\":\"CONSUMPTION_BASED\",\"quantityKey\":\"consumption\",\"fromDateTime\":\"2011-07-01T06:38:22.007-0700\",\"toDateTime\":\"2011-07-08T06:38:22.007-0700\",\"rateAmount\":0.089610,\"relativePriceIndex\":0.29,\"priceChanges\":[{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-01T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-07-01T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-01T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-07-01T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-05T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-07-05T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-05T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-07-05T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-06T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-07-06T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-06T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-07-06T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-07T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-07-07T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-07T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-07-07T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1}]},{\"tariffId\":520,\"chargeType\":\"MINIMUM\",\"quantityKey\":null,\"fromDateTime\":\"2011-07-01T06:38:22.007-0700\",\"toDateTime\":\"2011-07-08T06:38:22.007-0700\",\"rateAmount\":16.087000,\"relativePriceIndex\":1.00,\"priceChanges\":[]}]}" + - Wed, 26 Oct 2011 06:44:56 GMT + body: "{\"status\":\"success\",\"count\":2,\"type\":\"TariffRateSummary\",\"results\":[{\"tariffId\":520,\"chargeType\":\"MINIMUM\",\"quantityKey\":null,\"fromDateTime\":\"2011-07-01T06:38:22.700-0700\",\"toDateTime\":\"2011-07-08T06:38:22.700-0700\",\"rateAmount\":16.087000,\"relativePriceIndex\":1.00,\"currency\":\"USD\",\"priceChanges\":[],\"name\":\"MINIMUM rate change\"},{\"tariffId\":520,\"chargeType\":\"CONSUMPTION_BASED\",\"quantityKey\":\"consumption\",\"fromDateTime\":\"2011-07-01T06:38:22.700-0700\",\"toDateTime\":\"2011-07-08T06:38:22.700-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"currency\":\"USD\",\"priceChanges\":[{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-01T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-07-01T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-01T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-07-01T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-05T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-07-05T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-05T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-07-05T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-06T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-07-06T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-06T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-07-06T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-07T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-07-07T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-07-07T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-07-07T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1}],\"name\":\"Summer Off Peak\"}]}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get - uri: http://api.genability.com:80/rest/public/prices/520.json?appId=ValidAppID&appKey=ValidAppKey&consumptionAmount=500&fromDateTime=2011-06-24T09:38:22.7-0400&toDateTime=2011-07-01T09:38:22.7-0400 + uri: http://api.genability.com:80/rest/public/prices/520?appId=ValidAppID&appKey=ValidAppKey&consumptionAmount=500&fromDateTime=2011-06-24T09:38:22.7-0400&toDateTime=2011-07-01T09:38:22.7-0400 body: headers: accept: - application/json; charset=utf-8 user-agent: @@ -48,8 +48,8 @@ content-type: - application/json;charset=utf-8 transfer-encoding: - chunked date: - - Fri, 01 Jul 2011 18:52:49 GMT - body: "{\"status\":\"success\",\"count\":2,\"type\":\"TariffRateSummary\",\"results\":[{\"tariffId\":520,\"chargeType\":\"CONSUMPTION_BASED\",\"quantityKey\":\"consumption\",\"fromDateTime\":\"2011-06-24T06:38:22.007-0700\",\"toDateTime\":\"2011-07-01T06:38:22.007-0700\",\"rateAmount\":0.089610,\"relativePriceIndex\":0.29,\"priceChanges\":[{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-24T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-24T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-24T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-24T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-27T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-27T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-27T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-27T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-28T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-28T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-28T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-28T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-29T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-29T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-29T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-29T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-30T10:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.310460,\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-30T13:00:00.000-0700\",\"relativePriceIndex\":1.00,\"accuracy\":1},{\"rateAmount\":0.153110,\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-30T19:00:00.000-0700\",\"relativePriceIndex\":0.49,\"accuracy\":1},{\"rateAmount\":0.089610,\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-30T21:00:00.000-0700\",\"relativePriceIndex\":0.29,\"accuracy\":1}]},{\"tariffId\":520,\"chargeType\":\"MINIMUM\",\"quantityKey\":null,\"fromDateTime\":\"2011-06-24T06:38:22.007-0700\",\"toDateTime\":\"2011-07-01T06:38:22.007-0700\",\"rateAmount\":16.087000,\"relativePriceIndex\":1.00,\"priceChanges\":[]}]}" + - Wed, 26 Oct 2011 06:44:57 GMT + body: "{\"status\":\"success\",\"count\":2,\"type\":\"TariffRateSummary\",\"results\":[{\"tariffId\":520,\"chargeType\":\"MINIMUM\",\"quantityKey\":null,\"fromDateTime\":\"2011-06-24T06:38:22.700-0700\",\"toDateTime\":\"2011-07-01T06:38:22.700-0700\",\"rateAmount\":16.087000,\"relativePriceIndex\":1.00,\"currency\":\"USD\",\"priceChanges\":[],\"name\":\"MINIMUM rate change\"},{\"tariffId\":520,\"chargeType\":\"CONSUMPTION_BASED\",\"quantityKey\":\"consumption\",\"fromDateTime\":\"2011-06-24T06:38:22.700-0700\",\"toDateTime\":\"2011-07-01T06:38:22.700-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"currency\":\"USD\",\"priceChanges\":[{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-24T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-24T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-24T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-24T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-27T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-27T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-27T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-27T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-28T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-28T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-28T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-28T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-29T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-29T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-29T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-29T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-30T10:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Peak\",\"changeDateTime\":\"2011-06-30T13:00:00.000-0700\",\"rateAmount\":0.265550,\"relativePriceIndex\":1.00,\"accuracy\":1},{\"changeName\":\"Summer Partial Peak\",\"changeDateTime\":\"2011-06-30T19:00:00.000-0700\",\"rateAmount\":0.162070,\"relativePriceIndex\":0.61,\"accuracy\":1},{\"changeName\":\"Summer Off Peak\",\"changeDateTime\":\"2011-06-30T21:00:00.000-0700\",\"rateAmount\":0.093150,\"relativePriceIndex\":0.35,\"accuracy\":1}],\"name\":\"Summer Off Peak\"}]}" http_version: "1.1"