Sha256: a22a548b76409eca2372fef4816eecc74273d5758eb662c82223b4d716a68b5c

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

module StatusPageVi
  class CloudFlareStatus < BaseResource
    URL = "https://www.cloudflarestatus.com".freeze

    private

    def stats_good?
      self.scraper.css("span.status.font-large").first.text ==
        "\n            All Systems Operational\n          "
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
status_page_vi-0.3.1 lib/status_page_vi/resources/cloud_flare_status.rb
status_page_vi-0.3.0 lib/status_page_vi/resources/cloud_flare_status.rb
status_page_vi-0.2.0 lib/status_page_vi/resources/cloud_flare_status.rb
status_page_vi-0.1.0 lib/status_page_vi/resources/cloud_flare_status.rb