Class: Pbx::Messages::CallStateChanged
- Inherits:
-
Bubbletea::Message
- Object
- Bubbletea::Message
- Pbx::Messages::CallStateChanged
- Defined in:
- lib/pbx/messages.rb
Instance Attribute Summary collapse
-
#connected_to ⇒ Object
readonly
Returns the value of attribute connected_to.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#uniqueid ⇒ Object
readonly
Returns the value of attribute uniqueid.
Instance Method Summary collapse
-
#initialize(uniqueid:, state:, connected_to: nil) ⇒ CallStateChanged
constructor
A new instance of CallStateChanged.
Constructor Details
#initialize(uniqueid:, state:, connected_to: nil) ⇒ CallStateChanged
Returns a new instance of CallStateChanged.
94 95 96 97 98 99 |
# File 'lib/pbx/messages.rb', line 94 def initialize(uniqueid:, state:, connected_to: nil) super() @uniqueid = uniqueid @state = state @connected_to = connected_to end |
Instance Attribute Details
#connected_to ⇒ Object (readonly)
Returns the value of attribute connected_to.
92 93 94 |
# File 'lib/pbx/messages.rb', line 92 def connected_to @connected_to end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
92 93 94 |
# File 'lib/pbx/messages.rb', line 92 def state @state end |
#uniqueid ⇒ Object (readonly)
Returns the value of attribute uniqueid.
92 93 94 |
# File 'lib/pbx/messages.rb', line 92 def uniqueid @uniqueid end |