class StatusPageRuby::Pages::Github

Public Instance Methods

status() click to toggle source
# File lib/status_page_ruby/pages/github.rb, line 10
def status
  @status ||= status_element.text.strip
end
time() click to toggle source
# File lib/status_page_ruby/pages/github.rb, line 14
def time
  DateTime.parse(time_element[:datetime].strip).to_time.to_i
end