Class: Pbx::CallQueue
- Inherits:
-
Data
- Object
- Data
- Pbx::CallQueue
- Defined in:
- lib/pbx/call_queue.rb
Instance Attribute Summary collapse
-
#abandoned ⇒ Object
readonly
Returns the value of attribute abandoned.
-
#calls_waiting ⇒ Object
readonly
Returns the value of attribute calls_waiting.
-
#completed ⇒ Object
readonly
Returns the value of attribute completed.
-
#holdtime ⇒ Object
readonly
Returns the value of attribute holdtime.
-
#last_holdtime ⇒ Object
readonly
Returns the value of attribute last_holdtime.
-
#members ⇒ Object
readonly
Returns the value of attribute members.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#strategy ⇒ Object
readonly
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize(name:, strategy:, calls_waiting:, completed:, abandoned:, holdtime:, members:, last_holdtime: nil) ⇒ CallQueue
constructor
A new instance of CallQueue.
Constructor Details
#initialize(name:, strategy:, calls_waiting:, completed:, abandoned:, holdtime:, members:, last_holdtime: nil) ⇒ CallQueue
Returns a new instance of CallQueue.
5 6 7 |
# File 'lib/pbx/call_queue.rb', line 5 def initialize(name:, strategy:, calls_waiting:, completed:, abandoned:, holdtime:, members:, last_holdtime: nil) super end |
Instance Attribute Details
#abandoned ⇒ Object (readonly)
Returns the value of attribute abandoned
4 5 6 |
# File 'lib/pbx/call_queue.rb', line 4 def abandoned @abandoned end |
#calls_waiting ⇒ Object (readonly)
Returns the value of attribute calls_waiting
4 5 6 |
# File 'lib/pbx/call_queue.rb', line 4 def calls_waiting @calls_waiting end |
#completed ⇒ Object (readonly)
Returns the value of attribute completed
4 5 6 |
# File 'lib/pbx/call_queue.rb', line 4 def completed @completed end |
#holdtime ⇒ Object (readonly)
Returns the value of attribute holdtime
4 5 6 |
# File 'lib/pbx/call_queue.rb', line 4 def holdtime @holdtime end |
#last_holdtime ⇒ Object (readonly)
Returns the value of attribute last_holdtime
4 5 6 |
# File 'lib/pbx/call_queue.rb', line 4 def last_holdtime @last_holdtime end |
#members ⇒ Object (readonly)
Returns the value of attribute members
4 5 6 |
# File 'lib/pbx/call_queue.rb', line 4 def members @members end |
#name ⇒ Object (readonly)
Returns the value of attribute name
4 5 6 |
# File 'lib/pbx/call_queue.rb', line 4 def name @name end |
#strategy ⇒ Object (readonly)
Returns the value of attribute strategy
4 5 6 |
# File 'lib/pbx/call_queue.rb', line 4 def strategy @strategy end |