--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get 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: - 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: server: - Apache-Coyote/1.1 content-type: - application/json;charset=utf-8 transfer-encoding: - chunked date: - 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?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: - 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: server: - Apache-Coyote/1.1 content-type: - application/json;charset=utf-8 transfer-encoding: - chunked date: - 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"