Exception: Telerivet::APIException
- Inherits:
-
Exception
- Object
- Exception
- Telerivet::APIException
- Defined in:
- lib/telerivet.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(msg, code) ⇒ APIException
constructor
A new instance of APIException.
Constructor Details
#initialize(msg, code) ⇒ APIException
Returns a new instance of APIException.
286 287 288 289 |
# File 'lib/telerivet.rb', line 286 def initialize(msg, code) @code = code super(msg) end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
284 285 286 |
# File 'lib/telerivet.rb', line 284 def code @code end |