Class: Pbx::Messages::ConnectionLost
- Inherits:
-
Bubbletea::Message
- Object
- Bubbletea::Message
- Pbx::Messages::ConnectionLost
- Defined in:
- lib/pbx/messages.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason:) ⇒ ConnectionLost
constructor
A new instance of ConnectionLost.
Constructor Details
#initialize(reason:) ⇒ ConnectionLost
Returns a new instance of ConnectionLost.
44 45 46 47 |
# File 'lib/pbx/messages.rb', line 44 def initialize(reason:) super() @reason = reason end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
42 43 44 |
# File 'lib/pbx/messages.rb', line 42 def reason @reason end |