Class: CASino::ValidationResult
- Inherits:
-
Struct
- Object
- Struct
- CASino::ValidationResult
- Defined in:
- app/models/casino/validation_result.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#error_severity ⇒ Object
Returns the value of attribute error_severity.
Instance Method Summary collapse
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code
1 2 3 |
# File 'app/models/casino/validation_result.rb', line 1 def error_code @error_code end |
#error_message ⇒ Object
Returns the value of attribute error_message
1 2 3 |
# File 'app/models/casino/validation_result.rb', line 1 def @error_message end |
#error_severity ⇒ Object
Returns the value of attribute error_severity
1 2 3 |
# File 'app/models/casino/validation_result.rb', line 1 def error_severity @error_severity end |
Instance Method Details
#success? ⇒ Boolean
2 3 4 |
# File 'app/models/casino/validation_result.rb', line 2 def success? self.error_code.nil? end |