class DataCenter
Constants
- AWS_STATUS_RSS_ROOT
Public Class Methods
new(rest_client, location)
click to toggle source
# File lib/src/DataCenter.rb, line 8 def initialize(rest_client, location) @location = location @rest_client = rest_client end
Private Instance Methods
status_for(component)
click to toggle source
# File lib/src/DataCenter.rb, line 21 def status_for(component) feedHtml = @rest_client.get("#{AWS_STATUS_RSS_ROOT}/#{component}-#{@location}.rss") ServiceStatusResponse.create(feedHtml) end