lib/echelon/parks/disneyland/disneyland.rb in echelon-1.0.0 vs lib/echelon/parks/disneyland/disneyland.rb in echelon-1.0.1

- old
+ new

@@ -14,10 +14,10 @@ def initialize # fetch the json feed url = "http://dparks.uiemedia.net/dmm_v2/jsondata/JsonUpdateData?version=14&p=330339" resp = Net::HTTP.get_response(URI.parse(url)) - data = resp.body[2..-1] + data = resp.body # were only interested in the ride data, throw everything else away json_data = JSON.parse(data) ride_data = json_data["attractions"]["homeLabels"] queue_data = json_data["attractions"]["homeValues"].map { |v| v.to_i } \ No newline at end of file