Class: CASServer::Model::Error
- Inherits:
-
Object
- Object
- CASServer::Model::Error
- Defined in:
- lib/casserver/model.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.
103 104 105 106 |
# File 'lib/casserver/model.rb', line 103 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
101 102 103 |
# File 'lib/casserver/model.rb', line 101 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
101 102 103 |
# File 'lib/casserver/model.rb', line 101 def @message end |
Instance Method Details
#to_s ⇒ Object
108 109 110 |
# File 'lib/casserver/model.rb', line 108 def to_s end |