Exception: LinkhubException
- Inherits:
-
StandardError
- Object
- StandardError
- LinkhubException
- Defined in:
- lib/linkhub.rb
Overview
Linkhub API Exception class
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) ⇒ LinkhubException
constructor
A new instance of LinkhubException.
Constructor Details
#initialize(code, message) ⇒ LinkhubException
Returns a new instance of LinkhubException.
194 195 196 197 |
# File 'lib/linkhub.rb', line 194 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
193 194 195 |
# File 'lib/linkhub.rb', line 193 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
193 194 195 |
# File 'lib/linkhub.rb', line 193 def @message end |