Exception: TestLink::Exceptions::ErrorResponseException
- Inherits:
-
Exception
- Object
- Exception
- Exception
- TestLink::Exceptions::ErrorResponseException
- Defined in:
- lib/test_link/exceptions/error_response_exception.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code) ⇒ ErrorResponseException
constructor
A new instance of ErrorResponseException.
Constructor Details
#initialize(message, code) ⇒ ErrorResponseException
Returns a new instance of ErrorResponseException.
22 23 24 25 |
# File 'lib/test_link/exceptions/error_response_exception.rb', line 22 def initialize , code super @code = code end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
21 22 23 |
# File 'lib/test_link/exceptions/error_response_exception.rb', line 21 def code @code end |