genability 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +2 -2
- data/Gemfile +11 -10
- data/HISTORY.md +8 -0
- data/README.md +38 -3
- data/Rakefile +1 -0
- data/VERSION +2 -1
- data/genability.gemspec +46 -32
- data/lib/faraday/request/url_encoding_fix.rb +0 -1
- data/lib/genability/client.rb +6 -0
- data/lib/genability/client/calculate.rb +97 -0
- data/lib/genability/client/echo.rb +21 -0
- data/lib/genability/client/helpers.rb +2 -1
- data/lib/genability/client/load_serving_entity.rb +12 -11
- data/lib/genability/client/price.rb +1 -1
- data/lib/genability/client/property.rb +26 -0
- data/lib/genability/client/season.rb +1 -1
- data/lib/genability/client/tariff.rb +2 -2
- data/lib/genability/client/territory.rb +2 -2
- data/lib/genability/client/time_of_use.rb +3 -2
- data/lib/genability/client/zip_code.rb +1 -1
- data/lib/genability/configuration.rb +1 -2
- data/lib/genability/connection.rb +1 -5
- data/lib/genability/error.rb +4 -0
- data/lib/genability/request.rb +8 -1
- data/lib/mashie_extensions.rb +15 -4
- data/spec/cassettes/calculate.yml +55 -0
- data/spec/cassettes/echo.yml +57 -0
- data/spec/cassettes/load_serving_entities.yml +18 -18
- data/spec/cassettes/load_serving_entity.yml +2 -2
- data/spec/cassettes/prices.yml +6 -6
- data/spec/cassettes/properties.yml +55 -0
- data/spec/cassettes/property.yml +28 -0
- data/spec/cassettes/seasons.yml +2 -2
- data/spec/cassettes/tariff.yml +3 -3
- data/spec/cassettes/tariffs.yml +36 -9
- data/spec/cassettes/territories.yml +30 -3
- data/spec/cassettes/territory.yml +3 -3
- data/spec/cassettes/time_of_use.yml +5 -7
- data/spec/cassettes/time_of_uses.yml +3 -3
- data/spec/cassettes/zipcode.yml +2 -2
- data/spec/client/calculate_spec.rb +68 -0
- data/spec/client/echo_spec.rb +46 -0
- data/spec/client/helpers_spec.rb +34 -0
- data/spec/client/load_serving_entity_spec.rb +14 -5
- data/spec/client/property_spec.rb +45 -0
- data/spec/client/tariff_spec.rb +9 -1
- data/spec/client/territory_spec.rb +12 -1
- data/spec/client/time_of_use_spec.rb +2 -2
- data/spec/faraday/response_spec.rb +2 -2
- data/spec/genability_spec.rb +1 -1
- data/spec/spec_helper.rb +12 -8
- metadata +36 -13
@@ -31,7 +31,7 @@ module Genability
|
|
31
31
|
def prices(tariff_id, *args)
|
32
32
|
options = args.last.is_a?(Hash) ? args.pop : {}
|
33
33
|
from_date_time = args.first || Time.now
|
34
|
-
get("prices/#{tariff_id}", prices_params(from_date_time, options)).results
|
34
|
+
get("public/prices/#{tariff_id}", prices_params(from_date_time, options)).results
|
35
35
|
end
|
36
36
|
|
37
37
|
private
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Genability
|
2
|
+
class Client
|
3
|
+
|
4
|
+
module Property
|
5
|
+
|
6
|
+
def property(key_name)
|
7
|
+
get("public/properties/#{key_name}").results.first
|
8
|
+
end
|
9
|
+
|
10
|
+
def properties(options = {})
|
11
|
+
get("public/properties", property_params(options)).results
|
12
|
+
end
|
13
|
+
|
14
|
+
private
|
15
|
+
|
16
|
+
def property_params(options)
|
17
|
+
{
|
18
|
+
'entityId' => options[:entity_id],
|
19
|
+
'entityType' => options[:entity_id].nil? ? nil : 'LSE'
|
20
|
+
}.delete_if{ |k,v| v.nil? }.merge( pagination_params(options) )
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
@@ -18,7 +18,7 @@ module Genability
|
|
18
18
|
# @example Return a list of season groups for Pacific Gas & Electric Co
|
19
19
|
# Genability.seasons(734)
|
20
20
|
def seasons(load_serving_entity_id)
|
21
|
-
get("seasons", { :lseId => load_serving_entity_id }).results
|
21
|
+
get("public/seasons", { :lseId => load_serving_entity_id }).results
|
22
22
|
end
|
23
23
|
|
24
24
|
end
|
@@ -35,7 +35,7 @@ module Genability
|
|
35
35
|
# @example Return only default and alternative tariff types
|
36
36
|
# Genability.tariffs(:tariff_types => ['default', 'alternative'])
|
37
37
|
def tariffs(options = {})
|
38
|
-
get("tariffs", tariffs_params(options)).results
|
38
|
+
get("public/tariffs", tariffs_params(options)).results
|
39
39
|
end
|
40
40
|
|
41
41
|
# Returns one tariff.
|
@@ -51,7 +51,7 @@ module Genability
|
|
51
51
|
# @example Return the residential serice tariff for Georgia Power Co
|
52
52
|
# Genability.tariff(512)
|
53
53
|
def tariff(tariff_id, options = {})
|
54
|
-
get("tariffs/#{tariff_id}", tariff_params(options)).results.first
|
54
|
+
get("public/tariffs/#{tariff_id}", tariff_params(options)).results.first
|
55
55
|
end
|
56
56
|
|
57
57
|
private
|
@@ -33,7 +33,7 @@ module Genability
|
|
33
33
|
# @example Return territory Baseline Region V for Pacific Gas & Electric Co
|
34
34
|
# Genability.territory(3539)
|
35
35
|
def territory(territory_id, options = {})
|
36
|
-
get("territories/#{territory_id}", territory_params(options)).results.first
|
36
|
+
get("public/territories/#{territory_id}", territory_params(options)).results.first
|
37
37
|
end
|
38
38
|
|
39
39
|
# Returns a list of territories.
|
@@ -52,7 +52,7 @@ module Genability
|
|
52
52
|
# @example Return a list of territories for Pacific Gas & Electric Co
|
53
53
|
# Genability.territories(:lse_id => 734)
|
54
54
|
def territories(options = {})
|
55
|
-
get("territories", territories_params(options)).results
|
55
|
+
get("public/territories", territories_params(options)).results
|
56
56
|
end
|
57
57
|
|
58
58
|
private
|
@@ -23,7 +23,7 @@ module Genability
|
|
23
23
|
# @example Return the time of use group for Georgia Power Co
|
24
24
|
# Genability.time_of_uses(2756, 1)
|
25
25
|
def time_of_uses(load_serving_entity_id, time_of_use_group_id)
|
26
|
-
get("timeofuses/#{load_serving_entity_id}/#{time_of_use_group_id}").results.first
|
26
|
+
get("public/timeofuses/#{load_serving_entity_id}/#{time_of_use_group_id}").results.first
|
27
27
|
end
|
28
28
|
|
29
29
|
alias :tou :time_of_uses
|
@@ -45,11 +45,12 @@ module Genability
|
|
45
45
|
# @example Return the intervals for the time of use group for Georgia Power Co
|
46
46
|
# Genability.time_of_use_intervals(2756, 1)
|
47
47
|
def time_of_use_intervals(load_serving_entity_id, time_of_use_group_id, options = {})
|
48
|
-
get("timeofuses/#{load_serving_entity_id}/#{time_of_use_group_id}/intervals", interval_params(options)).results
|
48
|
+
get("public/timeofuses/#{load_serving_entity_id}/#{time_of_use_group_id}/intervals", interval_params(options)).results
|
49
49
|
end
|
50
50
|
|
51
51
|
alias :tou_intervals :time_of_use_intervals
|
52
52
|
alias :intervals :time_of_use_intervals
|
53
|
+
alias :toui :time_of_use_intervals
|
53
54
|
|
54
55
|
private
|
55
56
|
|
@@ -17,7 +17,7 @@ module Genability
|
|
17
17
|
# @example Return the details for the 48322 zipcode
|
18
18
|
# Genability.zipcode('48322')
|
19
19
|
def zipcode(zipcode)
|
20
|
-
get("zipcodes/#{zipcode}").results.first
|
20
|
+
get("public/zipcodes/#{zipcode}").results.first
|
21
21
|
end
|
22
22
|
|
23
23
|
alias :zip_code :zipcode
|
@@ -33,8 +33,7 @@ module Genability
|
|
33
33
|
|
34
34
|
# The endpoint that will be used to connect if none is set
|
35
35
|
#
|
36
|
-
|
37
|
-
DEFAULT_ENDPOINT = 'http://api.genability.com/rest/public/'.freeze
|
36
|
+
DEFAULT_ENDPOINT = 'http://api.genability.com/rest/'
|
38
37
|
|
39
38
|
# The response format appended to the path and sent in the 'Accept' header if none is set
|
40
39
|
#
|
@@ -14,11 +14,7 @@ module Genability
|
|
14
14
|
:headers => {'Accept' => "application/#{format}; charset=utf-8", 'User-Agent' => user_agent},
|
15
15
|
:proxy => proxy,
|
16
16
|
:ssl => {:verify => false},
|
17
|
-
:url => endpoint
|
18
|
-
:params => {
|
19
|
-
:appId => application_id,
|
20
|
-
:appKey => application_key
|
21
|
-
}
|
17
|
+
:url => endpoint
|
22
18
|
}
|
23
19
|
|
24
20
|
Faraday::Connection.new(options) do |connection|
|
data/lib/genability/error.rb
CHANGED
@@ -17,5 +17,9 @@ module Genability
|
|
17
17
|
# Raised when Genability returns the HTTP status code 503
|
18
18
|
class ServiceUnavailable < Error; end
|
19
19
|
|
20
|
+
# Raised when the tariff input for the calculate method is
|
21
|
+
# not an array or hash
|
22
|
+
class InvalidTariffInput < Error; end
|
23
|
+
|
20
24
|
end
|
21
25
|
|
data/lib/genability/request.rb
CHANGED
@@ -26,12 +26,15 @@ module Genability
|
|
26
26
|
# Perform an HTTP request
|
27
27
|
def request(method, path, options, raw=false, unformatted=false)
|
28
28
|
response = connection(raw).send(method) do |request|
|
29
|
-
path = formatted_path(path) unless unformatted
|
29
|
+
path = formatted_path(path) unless unformatted || default_request?
|
30
30
|
case method
|
31
31
|
when :get, :delete
|
32
32
|
request.url(path, options)
|
33
|
+
request.params['appId'] = application_id
|
34
|
+
request.params['appKey'] = application_key
|
33
35
|
when :post, :put
|
34
36
|
request.path = path
|
37
|
+
request.headers['Content-Type'] = 'application/json'
|
35
38
|
request.body = options unless options.empty?
|
36
39
|
end
|
37
40
|
end
|
@@ -41,6 +44,10 @@ module Genability
|
|
41
44
|
def formatted_path(path)
|
42
45
|
[path, format].compact.join('.')
|
43
46
|
end
|
47
|
+
|
48
|
+
def default_request?
|
49
|
+
format.to_sym == :json
|
50
|
+
end
|
44
51
|
end
|
45
52
|
end
|
46
53
|
|
data/lib/mashie_extensions.rb
CHANGED
@@ -3,10 +3,19 @@ require 'hashie/mash'
|
|
3
3
|
# @private
|
4
4
|
class Hashie::Mash
|
5
5
|
|
6
|
+
# Convert results to Ruby / Rails friendly attributes
|
7
|
+
def to_friendly_hash
|
8
|
+
out = {}
|
9
|
+
keys.each do |k|
|
10
|
+
out[genability_to_ruby_friendly(k)] = Hashie::Hash === self[k] ? self[k].to_hash : self[k]
|
11
|
+
end
|
12
|
+
out
|
13
|
+
end
|
14
|
+
|
6
15
|
# Modified Hashie::Mash method missing
|
7
16
|
def method_missing(method_name, *args, &blk)
|
8
17
|
begin
|
9
|
-
method_name =
|
18
|
+
method_name = ruby_to_genability_friendly(method_name)
|
10
19
|
rescue; end
|
11
20
|
return self.[](method_name, &blk) if key?(method_name)
|
12
21
|
match = method_name.to_s.match(/(.*?)([?=!]?)$/)
|
@@ -22,11 +31,13 @@ class Hashie::Mash
|
|
22
31
|
end
|
23
32
|
end
|
24
33
|
|
25
|
-
|
26
|
-
# into underscored methods
|
27
|
-
def genability_method_name_converter(method_name)
|
34
|
+
def ruby_to_genability_friendly(method_name)
|
28
35
|
method_name.to_s.gsub(/(?:^|_)(.)/){ $1.upcase }.gsub(/^[A-Z]/){ $&.downcase }.to_sym
|
29
36
|
end
|
30
37
|
|
38
|
+
def genability_to_ruby_friendly(method_name)
|
39
|
+
method_name.to_s.gsub(/^[A-Z]/){ $&.downcase }.gsub(/[A-Z]/){ "_#{$&.downcase}" }.to_sym
|
40
|
+
end
|
41
|
+
|
31
42
|
end
|
32
43
|
|
@@ -0,0 +1,55 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://api.genability.com:80/rest/beta/calculate/512?appId=ValidAppID&appKey=ValidAppKey&cityLimits=Inside&connectionType=Primary%20Connection&fromDateTime=2011-09-01T00:00:00.0-0400&toDateTime=2011-09-10T00:00:00.0-0400
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
accept:
|
9
|
+
- application/json; charset=utf-8
|
10
|
+
user-agent:
|
11
|
+
- Genability API Ruby Gem
|
12
|
+
accept-encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
content-type:
|
22
|
+
- application/json;charset=utf-8
|
23
|
+
transfer-encoding:
|
24
|
+
- chunked
|
25
|
+
date:
|
26
|
+
- Wed, 26 Oct 2011 06:44:52 GMT
|
27
|
+
body: "{\"status\":\"success\",\"count\":3,\"type\":\"PropertyData\",\"results\":[{\"keyName\":\"consumption\",\"dataType\":\"DECIMAL\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"unit\":\"kwh\"},{\"keyName\":\"cityLimits\",\"dataType\":\"CHOICE\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"dataValue\":\"Inside\"},{\"keyName\":\"connectionType\",\"dataType\":\"CHOICE\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"dataValue\":\"Primary Connection\"}]}"
|
28
|
+
http_version: "1.1"
|
29
|
+
- !ruby/struct:VCR::HTTPInteraction
|
30
|
+
request: !ruby/struct:VCR::Request
|
31
|
+
method: :post
|
32
|
+
uri: http://api.genability.com:80/rest/beta/calculate/512
|
33
|
+
body: "{\"fromDateTime\":\"2011-09-01T00:00:00.0-0400\",\"toDateTime\":\"2011-09-10T00:00:00.0-0400\",\"tariffInputs\":[{\"keyName\":\"consumption\",\"dataType\":\"DECIMAL\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"unit\":\"kwh\"},{\"keyName\":\"cityLimits\",\"dataType\":\"CHOICE\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"dataValue\":\"Inside\"},{\"keyName\":\"connectionType\",\"dataType\":\"CHOICE\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"dataValue\":\"Primary Connection\"}],\"appId\":\"ValidAppID\",\"appKey\":\"ValidAppKey\"}"
|
34
|
+
headers:
|
35
|
+
accept:
|
36
|
+
- application/json; charset=utf-8
|
37
|
+
user-agent:
|
38
|
+
- Genability API Ruby Gem
|
39
|
+
content-type:
|
40
|
+
- application/json
|
41
|
+
response: !ruby/struct:VCR::Response
|
42
|
+
status: !ruby/struct:VCR::ResponseStatus
|
43
|
+
code: 200
|
44
|
+
message: OK
|
45
|
+
headers:
|
46
|
+
server:
|
47
|
+
- Apache-Coyote/1.1
|
48
|
+
content-type:
|
49
|
+
- application/json;charset=utf-8
|
50
|
+
transfer-encoding:
|
51
|
+
- chunked
|
52
|
+
date:
|
53
|
+
- Wed, 26 Oct 2011 06:44:52 GMT
|
54
|
+
body: "{\"status\":\"success\",\"count\":1,\"type\":\"CalculatedCost\",\"results\":[{\"masterTariffId\":512,\"tariffName\":\"Residential Service\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"totalCost\":10.837188000000000000000000,\"items\":[{\"tariffRateId\":2734,\"tariffRateBandId\":3258,\"rateGroupName\":\"Basic Service Charge\",\"rateName\":\"Basic Service Charge\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"rateType\":\"COST_PER_UNIT\",\"quantityKey\":\"fixed\",\"itemQuantity\":1.000000,\"itemCount\":1,\"cost\":9.000000},{\"tariffRateId\":2736,\"tariffRateBandId\":3262,\"rateGroupName\":\"Energy Charges\",\"rateName\":\"Summer Energy Charges\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"rateType\":\"COST_PER_UNIT\",\"quantityKey\":\"consumption\",\"itemQuantity\":0.000000,\"itemCount\":1,\"cost\":0E-12},{\"tariffRateId\":2737,\"tariffRateBandId\":3265,\"rateGroupName\":\"Minimum Monthly Bill\",\"rateName\":\"Minimum Charge\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"rateType\":\"COST_PER_UNIT\",\"quantityKey\":\"minimum\",\"itemQuantity\":1.000000,\"itemCount\":1,\"cost\":0},{\"tariffRateId\":2723,\"tariffRateBandId\":3247,\"rateGroupName\":\"Demand Side Management Residential Schedule\",\"rateName\":\"Demand Side Management Residential Schedule\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"rateType\":\"PERCENTAGE\",\"quantityKey\":\"fixed\",\"itemQuantity\":1.000000,\"itemCount\":1,\"cost\":0.146457000000000000},{\"tariffRateId\":2724,\"tariffRateBandId\":3248,\"rateGroupName\":\"Environmental Compliance Cost Recovery Schedule\",\"rateName\":\"Environmental Compliance Cost Recovery Schedule\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"rateType\":\"PERCENTAGE\",\"quantityKey\":\"fixed\",\"itemQuantity\":1.000000,\"itemCount\":1,\"cost\":0.901179000000000000},{\"tariffRateId\":1444637,\"tariffRateBandId\":1415268,\"rateGroupName\":\"Fuel Cost Recovery Schedule\",\"rateName\":\"Summer\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"rateType\":\"COST_PER_UNIT\",\"quantityKey\":\"consumption\",\"itemQuantity\":0.000000,\"itemCount\":1,\"cost\":0E-12},{\"tariffRateId\":1444636,\"tariffRateBandId\":1415250,\"rateGroupName\":\"Municipal Franchise Fee Schedule\",\"rateName\":\"Municipal Franchise Fee Schedule\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"rateType\":\"PERCENTAGE\",\"quantityKey\":\"QUANTITY\",\"itemQuantity\":1.000000,\"itemCount\":1,\"cost\":0.261981000000000000000000},{\"tariffRateId\":2733,\"tariffRateBandId\":3257,\"rateGroupName\":\"Nuclear Construction Cost Recovery Schedule\",\"rateName\":\"Nuclear Construction Cost Recovery Schedule\",\"fromDateTime\":\"2011-09-01T00:00:00.000-0400\",\"toDateTime\":\"2011-09-10T00:00:00.000-0400\",\"rateType\":\"PERCENTAGE\",\"quantityKey\":\"fixed\",\"itemQuantity\":1.000000,\"itemCount\":1,\"cost\":0.527571000000000000}]}]}"
|
55
|
+
http_version: "1.1"
|
@@ -0,0 +1,57 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://api.genability.com:80/rest/echo?appId=ValidAppID&appKey=ValidAppKey
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
accept:
|
9
|
+
- application/json; charset=utf-8
|
10
|
+
user-agent:
|
11
|
+
- Genability API Ruby Gem
|
12
|
+
accept-encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
content-type:
|
22
|
+
- application/json;charset=utf-8
|
23
|
+
transfer-encoding:
|
24
|
+
- chunked
|
25
|
+
date:
|
26
|
+
- Wed, 26 Oct 2011 07:11:39 GMT
|
27
|
+
body: "{\"status\":\"success\",\"count\":0,\"type\":null,\"results\":null}"
|
28
|
+
http_version: "1.1"
|
29
|
+
- !ruby/struct:VCR::HTTPInteraction
|
30
|
+
request: !ruby/struct:VCR::Request
|
31
|
+
method: :get
|
32
|
+
uri: http://api.genability.com:80/rest/echo/errors/500?appId=ValidAppID&appKey=ValidAppKey
|
33
|
+
body:
|
34
|
+
headers:
|
35
|
+
accept:
|
36
|
+
- application/json; charset=utf-8
|
37
|
+
user-agent:
|
38
|
+
- Genability API Ruby Gem
|
39
|
+
accept-encoding:
|
40
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
41
|
+
response: !ruby/struct:VCR::Response
|
42
|
+
status: !ruby/struct:VCR::ResponseStatus
|
43
|
+
code: 500
|
44
|
+
message: Internal Server Error
|
45
|
+
headers:
|
46
|
+
server:
|
47
|
+
- Apache-Coyote/1.1
|
48
|
+
x-error-detail:
|
49
|
+
- A server error has occurred. Sorry. It has been logged and we will work to fix it.
|
50
|
+
content-type:
|
51
|
+
- application/json;charset=utf-8
|
52
|
+
transfer-encoding:
|
53
|
+
- chunked
|
54
|
+
date:
|
55
|
+
- Wed, 26 Oct 2011 07:11:39 GMT
|
56
|
+
body: "{\"status\":\"error\",\"count\":0,\"type\":\"Error\",\"results\":null}"
|
57
|
+
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://api.genability.com:80/rest/public/lses
|
5
|
+
uri: http://api.genability.com:80/rest/public/lses?appId=ValidAppID&appKey=ValidAppKey
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -23,13 +23,13 @@
|
|
23
23
|
transfer-encoding:
|
24
24
|
- chunked
|
25
25
|
date:
|
26
|
-
-
|
27
|
-
body: "{\"status\":\"success\",\"count\":
|
26
|
+
- Wed, 26 Oct 2011 06:44:53 GMT
|
27
|
+
body: "{\"status\":\"success\",\"count\":3169,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":2,\"name\":\"Kansas City Power & Light Co\",\"code\":\"10000\",\"websiteHome\":\"http://www.kcpl.com/index.html\"},{\"lseId\":3,\"name\":\"Kansas Gas & Electric Co\",\"code\":\"10005\",\"websiteHome\":null},{\"lseId\":4,\"name\":\"Karnes Electric Coop Inc\",\"code\":\"10009\",\"websiteHome\":null},{\"lseId\":5,\"name\":\"Kay Electric Coop\",\"code\":\"10012\",\"websiteHome\":null},{\"lseId\":6,\"name\":\"Kaw Valley Electric Coop Inc\",\"code\":\"10019\",\"websiteHome\":null},{\"lseId\":7,\"name\":\"City of Aurelia\",\"code\":\"1002\",\"websiteHome\":null},{\"lseId\":8,\"name\":\"City of Kaplan\",\"code\":\"10025\",\"websiteHome\":null},{\"lseId\":9,\"name\":\"City of Kasota\",\"code\":\"10037\",\"websiteHome\":null},{\"lseId\":10,\"name\":\"City of Aurora\",\"code\":\"1004\",\"websiteHome\":null},{\"lseId\":11,\"name\":\"City of Kasson\",\"code\":\"10040\",\"websiteHome\":null},{\"lseId\":12,\"name\":\"City of Kaukauna\",\"code\":\"10056\",\"websiteHome\":null},{\"lseId\":13,\"name\":\"City of Lamar\",\"code\":\"10057\",\"websiteHome\":null},{\"lseId\":14,\"name\":\"Kaysville City Corporation\",\"code\":\"10063\",\"websiteHome\":null},{\"lseId\":15,\"name\":\"KBR Rural Public Power District\",\"code\":\"10065\",\"websiteHome\":null},{\"lseId\":16,\"name\":\"K C Electric Association\",\"code\":\"10066\",\"websiteHome\":null},{\"lseId\":17,\"name\":\"Kauai Island Utility Cooperative\",\"code\":\"10071\",\"websiteHome\":null},{\"lseId\":18,\"name\":\"Kansas State University\",\"code\":\"10081\",\"websiteHome\":null},{\"lseId\":19,\"name\":\"Keewatin Public Utilities\",\"code\":\"10089\",\"websiteHome\":null},{\"lseId\":20,\"name\":\"Austin City of\",\"code\":\"1009\",\"websiteHome\":null},{\"lseId\":21,\"name\":\"Kennebunk Light & Power Dist\",\"code\":\"10144\",\"websiteHome\":null},{\"lseId\":22,\"name\":\"Austin Energy\",\"code\":\"1015\",\"websiteHome\":null},{\"lseId\":23,\"name\":\"City of Kennett\",\"code\":\"10152\",\"websiteHome\":null},{\"lseId\":24,\"name\":\"KEM Electric Coop Inc\",\"code\":\"10153\",\"websiteHome\":null},{\"lseId\":25,\"name\":\"Kiamichi Electric Coop, Inc\",\"code\":\"10170\",\"websiteHome\":null},{\"lseId\":26,\"name\":\"Kentucky Utilities Co\",\"code\":\"10171\",\"websiteHome\":\"http://www.lge-ku.com/\"}]}"
|
28
28
|
http_version: "1.1"
|
29
29
|
- !ruby/struct:VCR::HTTPInteraction
|
30
30
|
request: !ruby/struct:VCR::Request
|
31
31
|
method: :get
|
32
|
-
uri: http://api.genability.com:80/rest/public/lses
|
32
|
+
uri: http://api.genability.com:80/rest/public/lses?appId=ValidAppID&appKey=ValidAppKey&pageCount=10
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -50,13 +50,13 @@
|
|
50
50
|
transfer-encoding:
|
51
51
|
- chunked
|
52
52
|
date:
|
53
|
-
-
|
54
|
-
body: "{\"status\":\"success\",\"count\":
|
53
|
+
- Wed, 26 Oct 2011 06:44:53 GMT
|
54
|
+
body: "{\"status\":\"success\",\"count\":3169,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":2,\"name\":\"Kansas City Power & Light Co\",\"code\":\"10000\",\"websiteHome\":\"http://www.kcpl.com/index.html\"},{\"lseId\":3,\"name\":\"Kansas Gas & Electric Co\",\"code\":\"10005\",\"websiteHome\":null},{\"lseId\":4,\"name\":\"Karnes Electric Coop Inc\",\"code\":\"10009\",\"websiteHome\":null},{\"lseId\":5,\"name\":\"Kay Electric Coop\",\"code\":\"10012\",\"websiteHome\":null},{\"lseId\":6,\"name\":\"Kaw Valley Electric Coop Inc\",\"code\":\"10019\",\"websiteHome\":null},{\"lseId\":7,\"name\":\"City of Aurelia\",\"code\":\"1002\",\"websiteHome\":null},{\"lseId\":8,\"name\":\"City of Kaplan\",\"code\":\"10025\",\"websiteHome\":null},{\"lseId\":9,\"name\":\"City of Kasota\",\"code\":\"10037\",\"websiteHome\":null},{\"lseId\":10,\"name\":\"City of Aurora\",\"code\":\"1004\",\"websiteHome\":null},{\"lseId\":11,\"name\":\"City of Kasson\",\"code\":\"10040\",\"websiteHome\":null}]}"
|
55
55
|
http_version: "1.1"
|
56
56
|
- !ruby/struct:VCR::HTTPInteraction
|
57
57
|
request: !ruby/struct:VCR::Request
|
58
58
|
method: :get
|
59
|
-
uri: http://api.genability.com:80/rest/public/lses
|
59
|
+
uri: http://api.genability.com:80/rest/public/lses?appId=ValidAppID&appKey=ValidAppKey&pageStart=2
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -77,13 +77,13 @@
|
|
77
77
|
transfer-encoding:
|
78
78
|
- chunked
|
79
79
|
date:
|
80
|
-
-
|
81
|
-
body: "{\"status\":\"success\",\"count\":
|
80
|
+
- Wed, 26 Oct 2011 06:44:53 GMT
|
81
|
+
body: "{\"status\":\"success\",\"count\":3169,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":4,\"name\":\"Karnes Electric Coop Inc\",\"code\":\"10009\",\"websiteHome\":null},{\"lseId\":5,\"name\":\"Kay Electric Coop\",\"code\":\"10012\",\"websiteHome\":null},{\"lseId\":6,\"name\":\"Kaw Valley Electric Coop Inc\",\"code\":\"10019\",\"websiteHome\":null},{\"lseId\":7,\"name\":\"City of Aurelia\",\"code\":\"1002\",\"websiteHome\":null},{\"lseId\":8,\"name\":\"City of Kaplan\",\"code\":\"10025\",\"websiteHome\":null},{\"lseId\":9,\"name\":\"City of Kasota\",\"code\":\"10037\",\"websiteHome\":null},{\"lseId\":10,\"name\":\"City of Aurora\",\"code\":\"1004\",\"websiteHome\":null},{\"lseId\":11,\"name\":\"City of Kasson\",\"code\":\"10040\",\"websiteHome\":null},{\"lseId\":12,\"name\":\"City of Kaukauna\",\"code\":\"10056\",\"websiteHome\":null},{\"lseId\":13,\"name\":\"City of Lamar\",\"code\":\"10057\",\"websiteHome\":null},{\"lseId\":14,\"name\":\"Kaysville City Corporation\",\"code\":\"10063\",\"websiteHome\":null},{\"lseId\":15,\"name\":\"KBR Rural Public Power District\",\"code\":\"10065\",\"websiteHome\":null},{\"lseId\":16,\"name\":\"K C Electric Association\",\"code\":\"10066\",\"websiteHome\":null},{\"lseId\":17,\"name\":\"Kauai Island Utility Cooperative\",\"code\":\"10071\",\"websiteHome\":null},{\"lseId\":18,\"name\":\"Kansas State University\",\"code\":\"10081\",\"websiteHome\":null},{\"lseId\":19,\"name\":\"Keewatin Public Utilities\",\"code\":\"10089\",\"websiteHome\":null},{\"lseId\":20,\"name\":\"Austin City of\",\"code\":\"1009\",\"websiteHome\":null},{\"lseId\":21,\"name\":\"Kennebunk Light & Power Dist\",\"code\":\"10144\",\"websiteHome\":null},{\"lseId\":22,\"name\":\"Austin Energy\",\"code\":\"1015\",\"websiteHome\":null},{\"lseId\":23,\"name\":\"City of Kennett\",\"code\":\"10152\",\"websiteHome\":null},{\"lseId\":24,\"name\":\"KEM Electric Coop Inc\",\"code\":\"10153\",\"websiteHome\":null},{\"lseId\":25,\"name\":\"Kiamichi Electric Coop, Inc\",\"code\":\"10170\",\"websiteHome\":null},{\"lseId\":26,\"name\":\"Kentucky Utilities Co\",\"code\":\"10171\",\"websiteHome\":\"http://www.lge-ku.com/\"},{\"lseId\":27,\"name\":\"City of Marathon\",\"code\":\"10172\",\"websiteHome\":null},{\"lseId\":28,\"name\":\"Kenyon Municipal Utilities\",\"code\":\"10179\",\"websiteHome\":null}]}"
|
82
82
|
http_version: "1.1"
|
83
83
|
- !ruby/struct:VCR::HTTPInteraction
|
84
84
|
request: !ruby/struct:VCR::Request
|
85
85
|
method: :get
|
86
|
-
uri: http://api.genability.com:80/rest/public/lses
|
86
|
+
uri: http://api.genability.com:80/rest/public/lses?appId=ValidAppID&appKey=ValidAppKey&searchString=In&startsWith=true
|
87
87
|
body:
|
88
88
|
headers:
|
89
89
|
accept:
|
@@ -104,13 +104,13 @@
|
|
104
104
|
transfer-encoding:
|
105
105
|
- chunked
|
106
106
|
date:
|
107
|
-
-
|
108
|
-
body: "{\"status\":\"success\",\"count\":17,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":
|
107
|
+
- Wed, 26 Oct 2011 06:44:55 GMT
|
108
|
+
body: "{\"status\":\"success\",\"count\":17,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":3053,\"name\":\"Independence City of\",\"code\":\"9231\",\"websiteHome\":\"http://www.ci.independence.mo.us/\"},{\"lseId\":2356,\"name\":\"Independence Power Marketing\",\"code\":\"49921\",\"websiteHome\":null},{\"lseId\":3054,\"name\":\"Indian Electric Coop, Inc\",\"code\":\"9246\",\"websiteHome\":null},{\"lseId\":3061,\"name\":\"Indiana Michigan Power Co\",\"code\":\"9324\",\"websiteHome\":\"https://www.indianamichiganpower.com/Default.aspx\"},{\"lseId\":3056,\"name\":\"Indianapolis Power & Light Co\",\"code\":\"9273\",\"websiteHome\":\"http://www.iplpower.com/ipl/index?page=IPLHome\"},{\"lseId\":3058,\"name\":\"Indianola Municipal Utilities\",\"code\":\"9275\",\"websiteHome\":null},{\"lseId\":3155,\"name\":\"Infinite Energy Inc\",\"code\":\"\",\"websiteHome\":null},{\"lseId\":2968,\"name\":\"Inland Power & Light Company\",\"code\":\"8699\",\"websiteHome\":null},{\"lseId\":1445,\"name\":\"Inside Passage Elec Coop, Inc\",\"code\":\"18963\",\"websiteHome\":null},{\"lseId\":1793,\"name\":\"Integrys Energy Services of N.Y., Inc.\",\"code\":\"21258\",\"websiteHome\":\"http://www.integrysenergy.com/\"},{\"lseId\":2435,\"name\":\"Integrys Energy Services of Texas, LP\",\"code\":\"54892\",\"websiteHome\":null},{\"lseId\":1807,\"name\":\"Integrys Energy Services, Inc.\",\"code\":\"21795\",\"websiteHome\":\"http://www.integrysenergy.com/\"},{\"lseId\":3059,\"name\":\"Inter County Energy Coop Corp\",\"code\":\"9292\",\"websiteHome\":null},{\"lseId\":3062,\"name\":\"Intercounty Electric Coop Assn\",\"code\":\"9331\",\"websiteHome\":null},{\"lseId\":3063,\"name\":\"Intermountain Rural Elec Assn\",\"code\":\"9336\",\"websiteHome\":null},{\"lseId\":3064,\"name\":\"International Paper Co-GT Mill\",\"code\":\"9390\",\"websiteHome\":\"http://www.intermountain-rea.com/\"},{\"lseId\":3066,\"name\":\"Interstate Power and Light Co\",\"code\":\"9417\",\"websiteHome\":\"http://www.alliantenergy.com/index.htm\"}]}"
|
109
109
|
http_version: "1.1"
|
110
110
|
- !ruby/struct:VCR::HTTPInteraction
|
111
111
|
request: !ruby/struct:VCR::Request
|
112
112
|
method: :get
|
113
|
-
uri: http://api.genability.com:80/rest/public/lses
|
113
|
+
uri: http://api.genability.com:80/rest/public/lses?appId=ValidAppID&appKey=ValidAppKey&endsWith=true&searchString=Inc
|
114
114
|
body:
|
115
115
|
headers:
|
116
116
|
accept:
|
@@ -131,13 +131,13 @@
|
|
131
131
|
transfer-encoding:
|
132
132
|
- chunked
|
133
133
|
date:
|
134
|
-
-
|
135
|
-
body: "{\"status\":\"success\",\"count\":480,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":
|
134
|
+
- Wed, 26 Oct 2011 06:44:55 GMT
|
135
|
+
body: "{\"status\":\"success\",\"count\":480,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":4,\"name\":\"Karnes Electric Coop Inc\",\"code\":\"10009\",\"websiteHome\":null},{\"lseId\":6,\"name\":\"Kaw Valley Electric Coop Inc\",\"code\":\"10019\",\"websiteHome\":null},{\"lseId\":24,\"name\":\"KEM Electric Coop Inc\",\"code\":\"10153\",\"websiteHome\":null},{\"lseId\":25,\"name\":\"Kiamichi Electric Coop, Inc\",\"code\":\"10170\",\"websiteHome\":null},{\"lseId\":38,\"name\":\"KeySpan Energy Services Inc\",\"code\":\"10304\",\"websiteHome\":null},{\"lseId\":43,\"name\":\"Kingsbury Electric Coop, Inc\",\"code\":\"10329\",\"websiteHome\":null},{\"lseId\":52,\"name\":\"Kiwash Electric Coop, Inc\",\"code\":\"10375\",\"websiteHome\":null},{\"lseId\":54,\"name\":\"Kit Carson Electric Coop, Inc\",\"code\":\"10378\",\"websiteHome\":null},{\"lseId\":58,\"name\":\"Kodiak Electric Assn Inc\",\"code\":\"10433\",\"websiteHome\":null},{\"lseId\":61,\"name\":\"Kotzebue Electric Assn Inc\",\"code\":\"10451\",\"websiteHome\":null},{\"lseId\":62,\"name\":\"Kootenai Electric Coop Inc\",\"code\":\"10454\",\"websiteHome\":null},{\"lseId\":74,\"name\":\"La Plata Electric Assn, Inc\",\"code\":\"10539\",\"websiteHome\":\"http://www.lpea.com/\"},{\"lseId\":77,\"name\":\"LaCreek Electric Assn, Inc\",\"code\":\"10558\",\"websiteHome\":null},{\"lseId\":89,\"name\":\"Lake Region Electric Coop, Inc\",\"code\":\"10599\",\"websiteHome\":null},{\"lseId\":90,\"name\":\"Laclede Electric Coop, Inc\",\"code\":\"10603\",\"websiteHome\":null},{\"lseId\":95,\"name\":\"Lake Placid Village, Inc\",\"code\":\"10610\",\"websiteHome\":null},{\"lseId\":99,\"name\":\"BARC Electric Coop Inc\",\"code\":\"1062\",\"websiteHome\":null},{\"lseId\":104,\"name\":\"Lamb County Electric Coop, Inc\",\"code\":\"10625\",\"websiteHome\":null},{\"lseId\":108,\"name\":\"Lake Region Electric Assn, Inc\",\"code\":\"10632\",\"websiteHome\":null},{\"lseId\":113,\"name\":\"Licking Rural Electric Inc\",\"code\":\"10668\",\"websiteHome\":null},{\"lseId\":115,\"name\":\"Lane Electric Coop Inc\",\"code\":\"10681\",\"websiteHome\":null},{\"lseId\":125,\"name\":\"Lane-Scott Electric Coop, Inc\",\"code\":\"10728\",\"websiteHome\":null},{\"lseId\":129,\"name\":\"Laurens Electric Coop, Inc\",\"code\":\"10768\",\"websiteHome\":\"http://www.laurenselectric.com/\"},{\"lseId\":140,\"name\":\"Leavenworth-Jefferson E C, Inc\",\"code\":\"10801\",\"websiteHome\":null},{\"lseId\":142,\"name\":\"Lea County Electric Coop, Inc\",\"code\":\"10817\",\"websiteHome\":null}]}"
|
136
136
|
http_version: "1.1"
|
137
137
|
- !ruby/struct:VCR::HTTPInteraction
|
138
138
|
request: !ruby/struct:VCR::Request
|
139
139
|
method: :get
|
140
|
-
uri: http://api.genability.com:80/rest/public/lses
|
140
|
+
uri: http://api.genability.com:80/rest/public/lses?appId=ValidAppID&appKey=ValidAppKey&searchString=Energy
|
141
141
|
body:
|
142
142
|
headers:
|
143
143
|
accept:
|
@@ -158,6 +158,6 @@
|
|
158
158
|
transfer-encoding:
|
159
159
|
- chunked
|
160
160
|
date:
|
161
|
-
-
|
162
|
-
body: "{\"status\":\"success\",\"count\":
|
161
|
+
- Wed, 26 Oct 2011 06:44:55 GMT
|
162
|
+
body: "{\"status\":\"success\",\"count\":162,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":22,\"name\":\"Austin Energy\",\"code\":\"1015\",\"websiteHome\":null},{\"lseId\":38,\"name\":\"KeySpan Energy Services Inc\",\"code\":\"10304\",\"websiteHome\":null},{\"lseId\":103,\"name\":\"Southern Rivers Energy\",\"code\":\"10624\",\"websiteHome\":null},{\"lseId\":222,\"name\":\"Lower Valley Energy Inc\",\"code\":\"11273\",\"websiteHome\":null},{\"lseId\":228,\"name\":\"Agway Energy Services, LLC\",\"code\":\"113\",\"websiteHome\":null},{\"lseId\":304,\"name\":\"Consumers Energy\",\"code\":\"11788\",\"websiteHome\":null},{\"lseId\":362,\"name\":\"MidAmerican Energy Co\",\"code\":\"12341\",\"websiteHome\":\"http://www.midamericanenergy.com/\"},{\"lseId\":364,\"name\":\"Midwest Energy Cooperative\",\"code\":\"12377\",\"websiteHome\":null},{\"lseId\":389,\"name\":\"Midwest Energy Inc\",\"code\":\"12524\",\"websiteHome\":\"http://www.mwenergy.com\"},{\"lseId\":406,\"name\":\"Xcel Energy\",\"code\":\"12647\",\"websiteHome\":null},{\"lseId\":498,\"name\":\"CPL Retail Energy, LP\",\"code\":\"13151\",\"websiteHome\":null},{\"lseId\":499,\"name\":\"WTU Energy, LP\",\"code\":\"13153\",\"websiteHome\":null},{\"lseId\":506,\"name\":\"Xcel Energy\",\"code\":\"13211\",\"websiteHome\":null},{\"lseId\":524,\"name\":\"Constellation NewEnergy, Inc\",\"code\":\"13374\",\"websiteHome\":null},{\"lseId\":634,\"name\":\"NorthWestern Energy\",\"code\":\"13809\",\"websiteHome\":\"http://www.northwesternenergy.com/default.aspx\"},{\"lseId\":689,\"name\":\"OLS Energy-Camarillo\",\"code\":\"14149\",\"websiteHome\":null},{\"lseId\":722,\"name\":\"OLS Energy-Chino\",\"code\":\"14265\",\"websiteHome\":null},{\"lseId\":745,\"name\":\"PEPCO Energy Services\",\"code\":\"14405\",\"websiteHome\":\"http://www.pepco.com/\"},{\"lseId\":800,\"name\":\"Pennsylvania Power Co - FirstEnergy\",\"code\":\"14716\",\"websiteHome\":\"https://www.firstenergycorp.com/Penn_Power/index.html\"},{\"lseId\":819,\"name\":\"PECO Energy Co\",\"code\":\"14940\",\"websiteHome\":\"http://www.peco.com/\"},{\"lseId\":878,\"name\":\"Prairie Energy Coop\",\"code\":\"15291\",\"websiteHome\":null},{\"lseId\":892,\"name\":\"Portside Energy Corp\",\"code\":\"15343\",\"websiteHome\":null},{\"lseId\":913,\"name\":\"Xcel Energy - Colorado\",\"code\":\"15466\",\"websiteHome\":\"http://www.xcelenergy.com/\"},{\"lseId\":914,\"name\":\"Duke Energy Indiana Inc\",\"code\":\"15470\",\"websiteHome\":\"http://www.duke-energy.com/indiana.asp\"},{\"lseId\":921,\"name\":\"Puget Sound Energy Inc\",\"code\":\"15500\",\"websiteHome\":\"http://www.pse.com/Pages/default.aspx\"}]}"
|
163
163
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://api.genability.com:80/rest/public/lses/2756
|
5
|
+
uri: http://api.genability.com:80/rest/public/lses/2756?appId=ValidAppID&appKey=ValidAppKey
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -23,6 +23,6 @@
|
|
23
23
|
transfer-encoding:
|
24
24
|
- chunked
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Wed, 26 Oct 2011 06:44:56 GMT
|
27
27
|
body: "{\"status\":\"success\",\"count\":1,\"type\":\"LoadServingEntity\",\"results\":[{\"lseId\":2756,\"name\":\"Georgia Power Co\",\"code\":\"7140\",\"websiteHome\":\"http://www.georgiapower.com/\"}]}"
|
28
28
|
http_version: "1.1"
|