Class: Robots::Report
- Inherits:
-
Struct
- Object
- Struct
- Robots::Report
- Defined in:
- app/models/robots/report.rb
Overview
Simple report object packaged up for easy json rendering and testing
Instance Attribute Summary collapse
-
#beds ⇒ Object
Returns the value of attribute beds.
-
#message ⇒ Object
Returns the value of attribute message.
-
#valid ⇒ Object
(also: #valid?)
Returns the value of attribute valid.
Instance Attribute Details
#beds ⇒ Object
Returns the value of attribute beds
5 6 7 |
# File 'app/models/robots/report.rb', line 5 def beds @beds end |
#message ⇒ Object
Returns the value of attribute message
5 6 7 |
# File 'app/models/robots/report.rb', line 5 def @message end |
#valid ⇒ Object Also known as: valid?
Returns the value of attribute valid
5 6 7 |
# File 'app/models/robots/report.rb', line 5 def valid @valid end |