Class: Seatsio::ChartValidationResult

Inherits:
Object
  • Object
show all
Defined in:
lib/seatsio/domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



61
62
63
# File 'lib/seatsio/domain.rb', line 61

def errors
  @errors
end

#warningsObject (readonly)

Returns the value of attribute warnings.



61
62
63
# File 'lib/seatsio/domain.rb', line 61

def warnings
  @warnings
end