Class: Html2rss::Doctor::Botasaurus::Check

Inherits:
Data
  • Object
show all
Defined in:
lib/html2rss/doctor/botasaurus.rb

Overview

One named doctor check outcome.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject (readonly)

Returns the value of attribute detail

Returns:

  • the current value of detail



15
16
17
# File 'lib/html2rss/doctor/botasaurus.rb', line 15

def detail
  @detail
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • the current value of name



15
16
17
# File 'lib/html2rss/doctor/botasaurus.rb', line 15

def name
  @name
end

#okObject (readonly)

Returns the value of attribute ok

Returns:

  • the current value of ok



15
16
17
# File 'lib/html2rss/doctor/botasaurus.rb', line 15

def ok
  @ok
end

Instance Method Details

#to_hHash{Symbol => Object}

Returns:



18
19
20
# File 'lib/html2rss/doctor/botasaurus.rb', line 18

def to_h
  { name: name.to_s, ok:, detail: }
end