Class: CASServer::Models::Error
- Inherits:
-
Object
- Object
- CASServer::Models::Error
- Defined in:
- lib/casserver/models.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ Error
constructor
A new instance of Error.
- #to_s ⇒ Object
Constructor Details
#initialize(code, message) ⇒ Error
Returns a new instance of Error.
98 99 100 101 |
# File 'lib/casserver/models.rb', line 98 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
96 97 98 |
# File 'lib/casserver/models.rb', line 96 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
96 97 98 |
# File 'lib/casserver/models.rb', line 96 def @message end |
Instance Method Details
#to_s ⇒ Object
103 104 105 |
# File 'lib/casserver/models.rb', line 103 def to_s end |