Class: Html2rss::Doctor::Botasaurus::Result
- Inherits:
-
Data
- Object
- Data
- Html2rss::Doctor::Botasaurus::Result
- Defined in:
- lib/html2rss/doctor/botasaurus.rb
Overview
Aggregate doctor command outcome.
Instance Attribute Summary collapse
-
#checks ⇒ Object
readonly
Returns the value of attribute checks.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#ok ⇒ Object
readonly
Returns the value of attribute ok.
Instance Method Summary collapse
Instance Attribute Details
#checks ⇒ Object (readonly)
Returns the value of attribute checks
25 26 27 |
# File 'lib/html2rss/doctor/botasaurus.rb', line 25 def checks @checks end |
#message ⇒ Object (readonly)
Returns the value of attribute message
25 26 27 |
# File 'lib/html2rss/doctor/botasaurus.rb', line 25 def end |
#ok ⇒ Object (readonly)
Returns the value of attribute ok
25 26 27 |
# File 'lib/html2rss/doctor/botasaurus.rb', line 25 def ok @ok end |
Instance Method Details
#to_h ⇒ Hash{Symbol => Object}
28 29 30 |
# File 'lib/html2rss/doctor/botasaurus.rb', line 28 def to_h { ok:, message:, checks: checks.map(&:to_h) } end |