Class: Seatsio::ChartValidationResult
- Inherits:
-
Object
- Object
- Seatsio::ChartValidationResult
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#warnings ⇒ Object
readonly
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize(data) ⇒ ChartValidationResult
constructor
A new instance of ChartValidationResult.
Constructor Details
#initialize(data) ⇒ ChartValidationResult
Returns a new instance of ChartValidationResult.
63 64 65 66 |
# File 'lib/seatsio/domain.rb', line 63 def initialize(data) @errors = data['errors'] @warnings = data['warnings'] end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
61 62 63 |
# File 'lib/seatsio/domain.rb', line 61 def errors @errors end |
#warnings ⇒ Object (readonly)
Returns the value of attribute warnings.
61 62 63 |
# File 'lib/seatsio/domain.rb', line 61 def warnings @warnings end |