Class: Axe::API::Results::CheckedNode
- Inherits:
-
Node
- Object
- ValueObject
- Node
- Axe::API::Results::CheckedNode
- Defined in:
- lib/axe/api/results/checked_node.rb
Instance Method Summary collapse
Instance Method Details
#failure_messages ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/axe/api/results/checked_node.rb', line 18 def [ super, fix(all, "Fix all of the following:"), fix(none, "Fix all of the following:"), fix(any, "Fix any of the following:"), ] end |
#to_h ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/axe/api/results/checked_node.rb', line 27 def to_h { all: all.map(&:to_h), any: any.map(&:to_h), failureSummary: failureSummary, html: html, impact: impact, none: none.map(&:to_h), target: target, } end |