Class: Html2rss::Doctor::Botasaurus::Check
- Inherits:
-
Data
- Object
- Data
- Html2rss::Doctor::Botasaurus::Check
- Defined in:
- lib/html2rss/doctor/botasaurus.rb
Overview
One named doctor check outcome.
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#ok ⇒ Object
readonly
Returns the value of attribute ok.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object (readonly)
Returns the value of attribute detail
15 16 17 |
# File 'lib/html2rss/doctor/botasaurus.rb', line 15 def detail @detail end |
#name ⇒ Object (readonly)
Returns the value of attribute name
15 16 17 |
# File 'lib/html2rss/doctor/botasaurus.rb', line 15 def name @name end |
#ok ⇒ Object (readonly)
Returns the value of attribute ok
15 16 17 |
# File 'lib/html2rss/doctor/botasaurus.rb', line 15 def ok @ok end |
Instance Method Details
#to_h ⇒ Hash{Symbol => Object}
18 19 20 |
# File 'lib/html2rss/doctor/botasaurus.rb', line 18 def to_h { name: name.to_s, ok:, detail: } end |