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.
287 288 289 290 |
# File 'lib/telerivet.rb', line 287 def initialize(msg, code) @code = code super(msg) end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
285 286 287 |
# File 'lib/telerivet.rb', line 285 def code @code end |