Class: SiteHealth::Check::HTTPCodeJournal

Inherits:
Object
  • Object
show all
Defined in:
lib/site_health.rb

Instance Method Summary collapse

Instance Method Details

#error?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/site_health.rb', line 30

def error?
  code >= 400
end