Class: Intrigue::Ident::Check::Heroku

Inherits:
Base
  • Object
show all
Defined in:
lib/checks/heroku.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Instance Method Details

#generate_checks(url) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/checks/heroku.rb', line 6

def generate_checks(url)
  [
    {
      :type => "service",
      :vendor => "Heroku",
      :product =>"Heroku",
      :match_details =>"Heroku",
      :tags => ["hosting_provider"],
      :version => nil,
      :match_type => :content_body,
      :match_content =>  /herokucdn.com\/error-pages\/no-such-app.html/,
      :hide => true,
      :examples => ["http://54.209.64.71:80"],
      :paths => ["#{url}"]
    }
  ]
end