Class: CASinoCore::Model::ValidationResult
- Inherits:
-
Struct
- Object
- Struct
- CASinoCore::Model::ValidationResult
- Defined in:
- lib/casino_core/model/validation_result.rb
Direct Known Subclasses
Helper::ProxyTickets::ValidationResult, Helper::TwoFactorAuthenticators::ValidationResult
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
3 4 5 |
# File 'lib/casino_core/model/validation_result.rb', line 3 def error_code @error_code end |
#error_message ⇒ Object
Returns the value of attribute error_message
3 4 5 |
# File 'lib/casino_core/model/validation_result.rb', line 3 def end |
#error_severity ⇒ Object
Returns the value of attribute error_severity
3 4 5 |
# File 'lib/casino_core/model/validation_result.rb', line 3 def error_severity @error_severity end |
Instance Method Details
#success? ⇒ Boolean
4 5 6 |
# File 'lib/casino_core/model/validation_result.rb', line 4 def success? self.error_code.nil? end |