Exception: OnSIP::OnSIPException
- Inherits:
-
StandardError
- Object
- StandardError
- OnSIP::OnSIPException
- Defined in:
- lib/onsip/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ OnSIPException
constructor
A new instance of OnSIPException.
Constructor Details
#initialize(options = {}) ⇒ OnSIPException
Returns a new instance of OnSIPException.
5 6 7 8 9 |
# File 'lib/onsip/exceptions.rb', line 5 def initialize( = {}) = = [:message] @exception = [:exception] end |
Instance Attribute Details
#exception ⇒ Object
Returns the value of attribute exception.
3 4 5 |
# File 'lib/onsip/exceptions.rb', line 3 def exception @exception end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/onsip/exceptions.rb', line 3 def end |