Class: Item::Materials::Checks::FloorHeating::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/item/materials/checks/floor_heating.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status: nil, alerts: []) ⇒ Result

Returns a new instance of Result.



13
# File 'app/services/item/materials/checks/floor_heating.rb', line 13

def initialize(status: nil, alerts: []) = super

Instance Attribute Details

#alertsObject (readonly)

Returns the value of attribute alerts

Returns:

  • (Object)

    the current value of alerts



12
13
14
# File 'app/services/item/materials/checks/floor_heating.rb', line 12

def alerts
  @alerts
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



12
13
14
# File 'app/services/item/materials/checks/floor_heating.rb', line 12

def status
  @status
end