Class: Axe::API::Results::Check
- Inherits:
-
ValueObject
- Object
- ValueObject
- Axe::API::Results::Check
- Defined in:
- lib/axe/api/results/check.rb
Constant Summary
Constants inherited from ValueObject
ValueObject::BOOLEAN_FALSE_STRINGS, ValueObject::BOOLEAN_TRUE_STRINGS
Instance Method Summary collapse
Methods inherited from ValueObject
#==, #[], attribute, attributes, #attributes, #hash, #initialize, #inspect, #to_hash, values
Constructor Details
This class inherits a constructor from Axe::API::ValueObject
Instance Method Details
#failure_message ⇒ Object
16 17 18 |
# File 'lib/axe/api/results/check.rb', line 16 def end |
#to_h ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/axe/api/results/check.rb', line 20 def to_h { data: data, id: id, impact: impact, message: , relatedNodes: .map(&:to_h), } end |