Exception: Zoomba::Error::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- Zoomba::Error::ApiError
- Defined in:
- lib/zoomba/error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(msg = 'Zoom API error', code = nil) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(msg = 'Zoom API error', code = nil) ⇒ ApiError
Returns a new instance of ApiError.
17 18 19 20 |
# File 'lib/zoomba/error.rb', line 17 def initialize(msg = 'Zoom API error', code = nil) @code = code super(msg) end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
16 17 18 |
# File 'lib/zoomba/error.rb', line 16 def code @code end |