Sha256: 34029a3f9a90a666301c13b01549b6df13f57f950af0b32d1b07fefa84be9bdb

Contents?: true

Size: 1.87 KB

Versions: 1

Compression:

Stored size: 1.87 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: http://api.genability.com:80/rest/public/timeofuses/2756/1.json?appId=ValidAppID&appKey=ValidAppKey
    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: 
      - Fri, 01 Jul 2011 18:52:55 GMT
    body: "{\"status\":\"success\",\"count\":1,\"type\":\"TimeOfUseGroup\",\"results\":[{\"lseId\":2756,\"timeOfUses\":[{\"touId\":1,\"touGroupId\":1,\"lseId\":2756,\"touName\":\"Summer On-Peak\",\"calendarId\":null,\"isDynamic\":false,\"season\":{\"seasonId\":315,\"lseId\":2756,\"seasonGroupId\":3,\"seasonName\":\"Summer\",\"seasonFromMonth\":6,\"seasonFromDay\":1,\"seasonToMonth\":9,\"seasonToDay\":30},\"touPeriods\":[{\"touPeriodId\":1,\"touId\":1,\"fromDayOfWeek\":0,\"fromHour\":14,\"fromMinute\":0,\"toDayOfWeek\":4,\"toHour\":19,\"toMinute\":0}]},{\"touId\":2,\"touGroupId\":1,\"lseId\":2756,\"touName\":\"Summer Off-Peak\",\"calendarId\":34,\"isDynamic\":false,\"season\":{\"seasonId\":315,\"lseId\":2756,\"seasonGroupId\":3,\"seasonName\":\"Summer\",\"seasonFromMonth\":6,\"seasonFromDay\":1,\"seasonToMonth\":9,\"seasonToDay\":30},\"touPeriods\":[{\"touPeriodId\":2,\"touId\":2,\"fromDayOfWeek\":0,\"fromHour\":19,\"fromMinute\":0,\"toDayOfWeek\":4,\"toHour\":14,\"toMinute\":0},{\"touPeriodId\":2037,\"touId\":2,\"fromDayOfWeek\":5,\"fromHour\":14,\"fromMinute\":0,\"toDayOfWeek\":6,\"toHour\":19,\"toMinute\":0}]}],\"touGroupId\":1}]}"
    http_version: "1.1"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
genability-0.1.0 spec/cassettes/time_of_uses.yml