Class: Pbx::Messages::CallStarted
- Inherits:
-
Bubbletea::Message
- Object
- Bubbletea::Message
- Pbx::Messages::CallStarted
- Defined in:
- lib/pbx/messages.rb
Instance Attribute Summary collapse
-
#caller_id ⇒ Object
readonly
Returns the value of attribute caller_id.
-
#caller_name ⇒ Object
readonly
Returns the value of attribute caller_name.
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#started_at ⇒ Object
readonly
Returns the value of attribute started_at.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#uniqueid ⇒ Object
readonly
Returns the value of attribute uniqueid.
Instance Method Summary collapse
-
#initialize(uniqueid:, channel:, caller_id:, caller_name:, state:, started_at:) ⇒ CallStarted
constructor
A new instance of CallStarted.
Constructor Details
#initialize(uniqueid:, channel:, caller_id:, caller_name:, state:, started_at:) ⇒ CallStarted
Returns a new instance of CallStarted.
71 72 73 74 75 76 77 78 79 |
# File 'lib/pbx/messages.rb', line 71 def initialize(uniqueid:, channel:, caller_id:, caller_name:, state:, started_at:) super() @uniqueid = uniqueid @channel = channel @caller_id = caller_id @caller_name = caller_name @state = state @started_at = started_at end |
Instance Attribute Details
#caller_id ⇒ Object (readonly)
Returns the value of attribute caller_id.
69 70 71 |
# File 'lib/pbx/messages.rb', line 69 def caller_id @caller_id end |
#caller_name ⇒ Object (readonly)
Returns the value of attribute caller_name.
69 70 71 |
# File 'lib/pbx/messages.rb', line 69 def caller_name @caller_name end |
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
69 70 71 |
# File 'lib/pbx/messages.rb', line 69 def channel @channel end |
#started_at ⇒ Object (readonly)
Returns the value of attribute started_at.
69 70 71 |
# File 'lib/pbx/messages.rb', line 69 def started_at @started_at end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
69 70 71 |
# File 'lib/pbx/messages.rb', line 69 def state @state end |
#uniqueid ⇒ Object (readonly)
Returns the value of attribute uniqueid.
69 70 71 |
# File 'lib/pbx/messages.rb', line 69 def uniqueid @uniqueid end |